mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
okular keymaps
This commit is contained in:
parent
f4c51e6c52
commit
8683dcbef3
7 changed files with 210 additions and 1 deletions
165
home/dot_local/share/kxmlgui5/okular/part.rc
Normal file
165
home/dot_local/share/kxmlgui5/okular/part.rc
Normal file
|
|
@ -0,0 +1,165 @@
|
||||||
|
<?xml version='1.0'?>
|
||||||
|
<!DOCTYPE gui SYSTEM 'kpartgui.dtd'>
|
||||||
|
<gui name="okular_part" version="55">
|
||||||
|
<MenuBar>
|
||||||
|
<Menu name="file">
|
||||||
|
<text>&File</text>
|
||||||
|
<Action group="file_open" name="get_new_stuff"/>
|
||||||
|
<Action group="file_open" name="import_ps"/>
|
||||||
|
<Action group="file_save" name="file_save"/>
|
||||||
|
<Action group="file_save" name="file_save_as"/>
|
||||||
|
<Action group="file_save" name="file_reload"/>
|
||||||
|
<Action group="file_print" name="file_print"/>
|
||||||
|
<Action group="file_print" name="file_print_preview"/>
|
||||||
|
<Action group="file_print" name="open_containing_folder"/>
|
||||||
|
<Action group="file_print" name="properties"/>
|
||||||
|
<Action group="file_print" name="embedded_files"/>
|
||||||
|
<Action group="file_print" name="file_export_as"/>
|
||||||
|
<Action group="file_print" name="file_share"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="edit">
|
||||||
|
<text>&Edit</text>
|
||||||
|
<Action name="edit_undo"/>
|
||||||
|
<Action name="edit_redo"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="edit_copy"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="edit_select_all"/>
|
||||||
|
<Action name="edit_select_all_current_page"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="edit_find"/>
|
||||||
|
<Action name="edit_find_next"/>
|
||||||
|
<Action name="edit_find_prev"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="view">
|
||||||
|
<text>&View</text>
|
||||||
|
<Action name="presentation"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="view_zoom_out"/>
|
||||||
|
<Action name="view_zoom_in"/>
|
||||||
|
<Action name="view_actual_size"/>
|
||||||
|
<Action name="view_fit_to_width"/>
|
||||||
|
<Action name="view_fit_to_page"/>
|
||||||
|
<Action name="view_auto_fit"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="view_render_mode"/>
|
||||||
|
<Separator/>
|
||||||
|
<Menu name="view_orientation">
|
||||||
|
<text>&Orientation</text>
|
||||||
|
<Action name="view_orientation_rotate_ccw"/>
|
||||||
|
<Action name="view_orientation_rotate_cw"/>
|
||||||
|
<Action name="view_orientation_original"/>
|
||||||
|
</Menu>
|
||||||
|
<Action name="view_trim_mode"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="view_toggle_forms"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="go">
|
||||||
|
<text>&Go</text>
|
||||||
|
<Action name="go_previous"/>
|
||||||
|
<Action name="go_next"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="first_page"/>
|
||||||
|
<Action name="last_page"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="go_document_back"/>
|
||||||
|
<Action name="go_document_forward"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="go_goto_page"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="bookmarks">
|
||||||
|
<text>&Bookmarks</text>
|
||||||
|
<Action name="bookmark_add"/>
|
||||||
|
<Action name="rename_bookmark"/>
|
||||||
|
<Action name="previous_bookmark"/>
|
||||||
|
<Action name="next_bookmark"/>
|
||||||
|
<Separator/>
|
||||||
|
<ActionList name="bookmarks_currentdocument"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="tools">
|
||||||
|
<text>&Tools</text>
|
||||||
|
<Action name="mouse_drag"/>
|
||||||
|
<Action name="mouse_zoom"/>
|
||||||
|
<Action name="mouse_select"/>
|
||||||
|
<Action name="mouse_textselect"/>
|
||||||
|
<Action name="mouse_tableselect"/>
|
||||||
|
<Action name="mouse_magnifier"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="mouse_toggle_annotate"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="add_digital_signature"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="speak_document"/>
|
||||||
|
<Action name="speak_from_current_page"/>
|
||||||
|
<Action name="speak_current_page"/>
|
||||||
|
<Action name="speak_stop_all"/>
|
||||||
|
<Action name="speak_pause_resume"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="settings">
|
||||||
|
<text>&Settings</text>
|
||||||
|
<Action group="show_merge" name="colorscheme_menu"/>
|
||||||
|
<Action group="show_merge" name="show_leftpanel"/>
|
||||||
|
<Action group="show_merge" name="show_bottombar"/>
|
||||||
|
<Action group="configure_merge" name="options_configure_generators"/>
|
||||||
|
<Action group="configure_merge" name="options_configure"/>
|
||||||
|
</Menu>
|
||||||
|
<Menu name="help">
|
||||||
|
<text>&Help</text>
|
||||||
|
<Action group="about_merge" name="help_about_backend"/>
|
||||||
|
</Menu>
|
||||||
|
</MenuBar>
|
||||||
|
<ToolBar name="mainToolBar">
|
||||||
|
<text>Main Toolbar</text>
|
||||||
|
<Action name="show_leftpanel"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="view_zoom_in"/>
|
||||||
|
<Action name="view_zoom_out"/>
|
||||||
|
<Action name="zoom_to"/>
|
||||||
|
<Action name="view_render_mode"/>
|
||||||
|
<Spacer/>
|
||||||
|
<Action name="page_number"/>
|
||||||
|
<Spacer/>
|
||||||
|
<Action name="mouse_drag"/>
|
||||||
|
<Action name="mouse_selecttools"/>
|
||||||
|
<Action name="annotation_favorites"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="hamburger_menu"/>
|
||||||
|
</ToolBar>
|
||||||
|
<ActionProperties scheme="Default">
|
||||||
|
<Action name="show_leftpanel" priority="0"/>
|
||||||
|
<Action name="view_zoom_out" priority="0"/>
|
||||||
|
<Action name="view_zoom_in" priority="0"/>
|
||||||
|
<Action name="color_mode_inverted" shortcut="I"/>
|
||||||
|
<Action name="first_page" shortcut="Ctrl+Home; G, G"/>
|
||||||
|
<Action name="last_page" shortcut="Ctrl+End; Shift+G"/>
|
||||||
|
</ActionProperties>
|
||||||
|
<ToolBar hidden="true" iconText="icononly" name="annotationToolBar" newline="true">
|
||||||
|
<text>Annotation Toolbar</text>
|
||||||
|
<Action name="annotation_highlighter"/>
|
||||||
|
<Action name="annotation_underline"/>
|
||||||
|
<Action name="annotation_squiggle"/>
|
||||||
|
<Action name="annotation_strike_out"/>
|
||||||
|
<Action name="annotation_typewriter"/>
|
||||||
|
<Action name="annotation_inline_note"/>
|
||||||
|
<Action name="annotation_popup_note"/>
|
||||||
|
<Action name="annotation_freehand_line"/>
|
||||||
|
<Action name="annotation_geometrical_shape"/>
|
||||||
|
<Action name="annotation_stamp"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="annotation_settings_width"/>
|
||||||
|
<Action name="annotation_settings_color"/>
|
||||||
|
<Action name="annotation_settings_inner_color"/>
|
||||||
|
<Action name="annotation_settings_opacity"/>
|
||||||
|
<Action name="annotation_settings_font"/>
|
||||||
|
<Action name="annotation_settings_advanced"/>
|
||||||
|
<Separator/>
|
||||||
|
<Action name="annotation_bookmark"/>
|
||||||
|
<Action name="annotation_settings_pin"/>
|
||||||
|
<Spacer/>
|
||||||
|
<Action name="hide_annotation_toolbar"/>
|
||||||
|
</ToolBar>
|
||||||
|
<ToolBar hidden="true" iconSize="32" iconText="icononly" name="quickAnnotationToolBar" newline="true" position="right">
|
||||||
|
<text>Quick Annotation Toolbar</text>
|
||||||
|
<Action name="quick_annotation_action_bar"/>
|
||||||
|
</ToolBar>
|
||||||
|
</gui>
|
||||||
29
home/dot_local/share/kxmlgui5/okular/shell.rc
Normal file
29
home/dot_local/share/kxmlgui5/okular/shell.rc
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version='1.0'?>
|
||||||
|
<!DOCTYPE gui SYSTEM 'kpartgui.dtd'>
|
||||||
|
<gui name="okular_shell" version="11">
|
||||||
|
<MenuBar>
|
||||||
|
<Menu name="file">
|
||||||
|
<DefineGroup append="open_merge" name="file_open"/>
|
||||||
|
<DefineGroup append="save_merge" name="file_save"/>
|
||||||
|
<DefineGroup append="print_merge" name="file_print"/>
|
||||||
|
<Action append="open_merge" name="undo-close-tab"/>
|
||||||
|
</Menu>
|
||||||
|
<!--Menu name="view" >
|
||||||
|
<Action name="fullscreen" />
|
||||||
|
</Menu-->
|
||||||
|
<Menu name="settings">
|
||||||
|
<DefineGroup append="show_merge" name="show_merge"/>
|
||||||
|
<DefineGroup append="configure_merge" name="configure_merge"/>
|
||||||
|
</Menu>
|
||||||
|
<Merge/>
|
||||||
|
<Menu name="help">
|
||||||
|
<DefineGroup append="about_merge" name="about_merge"/>
|
||||||
|
</Menu>
|
||||||
|
</MenuBar>
|
||||||
|
<ToolBar name="mainToolBar" noMerge="1">
|
||||||
|
<text>Main Toolbar</text>
|
||||||
|
<!--Action name="file_open_recent" /-->
|
||||||
|
<!--Action name="file_print" /-->
|
||||||
|
</ToolBar>
|
||||||
|
<ActionProperties scheme="Default"/>
|
||||||
|
</gui>
|
||||||
|
|
@ -56,7 +56,7 @@ in {
|
||||||
# colorScheme = "BreezeDark";
|
# colorScheme = "BreezeDark";
|
||||||
# };
|
# };
|
||||||
kwin = {
|
kwin = {
|
||||||
virtualDesktops.number = 8;
|
virtualDesktops.number = 9;
|
||||||
titlebarButtons = {
|
titlebarButtons = {
|
||||||
left = [
|
left = [
|
||||||
"more-window-actions"
|
"more-window-actions"
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@
|
||||||
# Disable Translations
|
# Disable Translations
|
||||||
"browser.translations.enable" = false;
|
"browser.translations.enable" = false;
|
||||||
"browser.translations.automaticallyPopup" = false;
|
"browser.translations.automaticallyPopup" = false;
|
||||||
|
# CJK IME Optimisation
|
||||||
|
"browser.urlbar.keepPanelOpenDuringImeComposition" = true;
|
||||||
|
"browser.tabs.closeTabByDblclick" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,9 @@
|
||||||
name = "Maple Mono NF CN";
|
name = "Maple Mono NF CN";
|
||||||
size = 12;
|
size = 12;
|
||||||
};
|
};
|
||||||
|
extraConfig = {
|
||||||
|
General.Environment = "TERM=xterm-256color,COLORTERM=truecolor,TERM_PROGRAM=konsole,";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,10 @@ in {
|
||||||
bind -M insert ctrl-k kill-line
|
bind -M insert ctrl-k kill-line
|
||||||
bind -M insert ctrl-w backward-kill-path-component
|
bind -M insert ctrl-w backward-kill-path-component
|
||||||
|
|
||||||
|
if [ $TERM_PROGRAM = "konsole" ]
|
||||||
|
bind -M insert ctrl-h backward-kill-word
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# ctrl + backspace
|
# ctrl + backspace
|
||||||
bind -M insert ctrl-backspace backward-kill-path-component
|
bind -M insert ctrl-backspace backward-kill-path-component
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,11 @@
|
||||||
shift-s = "vim::PushSneakBackward";
|
shift-s = "vim::PushSneakBackward";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
bindings = {
|
||||||
|
"alt-x" = "command_palette::Toggle";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue