This commit is contained in:
sankalp committed 2023-12-30 21:19:06 +05:45
commit 0cbbf662e3
473 files changed
+40489

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
[addons]
show_toolbar_doclist_item=true
doclist_sort_mode=2
enable_openuri=false
enable_tasks=true
tasks_token_list=TODO;FIXME
tasks_scan_all_documents=true
enable_systray=true
enable_bookmarklist=false
enable_markword=true
enable_markword_single_click_deselect=true
strip_trailing_blank_lines=false
enable_xmltagging=false
enable_enclose_words=false
enable_enclose_words_auto=false
enable_colortip=true
enable_double_click_color_chooser=true
@@ -0,0 +1,23 @@
[autoclose]
parenthesis=true
abracket=true
abracket_htmlonly=true
cbracket=true
sbracket=true
dquote=true
squote=true
backquote=true
backquote_bashonly=true
comments_ac_enable=false
delete_pairing_brace=true
suppress_doubling=true
enclose_selections=true
comments_enclose=false
keep_selection=true
make_indent_for_cbracket=true
move_cursor_to_beginning=true
improved_cbracket_indent=true
whitesmiths_style=false
close_functions=true
bcksp_remove_pair=false
jump_on_tab=true
@@ -0,0 +1,7 @@
[filebrowser]
open_command=nautilus "%d"
show_hidden_files=true
hide_object_files=true
hidden_file_extensions=.o .obj .so .dll .a .lib .pyc
fb_follow_path=false
fb_set_project_base_path=true
@@ -0,0 +1,2 @@
geany.signal("hbox_menubar", "show")
geany.signal("vbox1", "style-updated")
@@ -0,0 +1,14 @@
-- load and initialize toggle_menu script
local lua_path = geany.appinfo().scriptdir..geany.dirsep
--[[
start_action options:
restore - startup with the last menu bar state
*hide - startup with menu bar hidden
show - startup with menu bar visible
toggle - startup with visibility toggled from the last menu bar state
--]]
start_action = "hide"
toggle_menu_bar = loadfile(lua_path.."toggle-menu-bar.lua")
toggle_menu_bar()
@@ -0,0 +1 @@
toggle-menu-bar.lua
Whitespace-only changes.
@@ -0,0 +1,63 @@
lua_path=geany.appinfo().scriptdir..geany.dirsep
state_file=lua_path.."toggle-menu-bar-hidden"
function is_visible()
local state_stat = geany.stat(state_file)
if (state_stat) and (state_stat.type == "r") then
return false
else
return true
end
end
function hide()
file = io.open(state_file, "w+")
io.close(file)
geany.signal("hbox_menubar", "hide")
update()
end
function show()
geany.signal("hbox_menubar", "show")
os.remove(state_file)
update()
end
function update()
geany.signal("vbox1", "style-updated")
end
function restore()
if is_visible() then
show()
else
hide()
end
end
function toggle()
if is_visible() then
hide()
else
show()
end
end
-- ---------------
if not start_action then
toggle();
else
local action_tbl =
{
["hide"] = hide,
["show"] = show,
["restore"] = restore,
["toggle"] = toggle,
}
local func = action_tbl[start_action]
if (func) then
func()
end
end
@@ -0,0 +1,7 @@
[general]
monitor-repository=true
[colors]
line-added=#50fa7b
line-changed=#ffb86c
line-removed=#ff5454
@@ -0,0 +1,16 @@
[treebrowser]
open_external_cmd=xdg-open '%d'
open_terminal=xterm
reverse_filter=false
one_click_chdoc=false
show_hidden_files=true
hide_object_files=false
show_bars=0
chroot_on_dclick=false
follow_current_doc=true
on_delete_close_file=true
on_open_focus_editor=false
show_tree_lines=true
show_bookmarks=false
show_icons=2
open_new_files=true