diff --git a/config.yaml b/config.yaml index b07c90e..5ea1f54 100644 --- a/config.yaml +++ b/config.yaml @@ -47,6 +47,8 @@ profiles: up: i right: o next: l + tabL: U + tabR: Y insertMode: s font: mono: Fira Code diff --git a/dotfiles/nvim/init.vim b/dotfiles/nvim/init.vim index 635a0bc..144a320 100644 --- a/dotfiles/nvim/init.vim +++ b/dotfiles/nvim/init.vim @@ -175,6 +175,8 @@ call plug#end() highlight EndOfBuffer guibg=None guifg={{@@ color.bg_light @@}} highlight SpecialKey guibg=None guifg={{@@ color.accent @@}} + highlight tabLine None + highlight tabLineFill None highlight SignColumn guibg=None highlight GitGutterAdd guifg=lightgreen @@ -224,6 +226,9 @@ call plug#end() noremap {{@@ key.next @@}} n noremap {{@@ key.next.upper() @@}} N + nnoremap {{@@ key.tabL @@}} :tabprev + nnoremap {{@@ key.tabR @@}} :tabnext + noremap {{@@ key.insertMode @@}} i noremap {{@@ key.insertMode.upper() @@}} I diff --git a/dotfiles/qutebrowser.py b/dotfiles/qutebrowser.py index c784fac..dc0ad38 100644 --- a/dotfiles/qutebrowser.py +++ b/dotfiles/qutebrowser.py @@ -366,10 +366,14 @@ config.bind("{{@@ key.up @@}}", "scroll up") config.bind("{{@@ key.right @@}}", "scroll right") config.bind("{{@@ key.left .upper() @@}}", "back") -config.bind("{{@@ key.down .upper() @@}}", "tab-prev") -config.bind("{{@@ key.up .upper() @@}}", "tab-next") config.bind("{{@@ key.right .upper() @@}}", "forward") +config.bind("{{@@ key.up .upper() @@}}", "scroll-px 0 -100") +config.bind("{{@@ key.down .upper() @@}}", "scroll-px 0 100") + +config.bind("{{@@ key.tabL .upper() @@}}", "tab-prev") +config.bind("{{@@ key.tabR .upper() @@}}", "tab-next") + # Bindings for caret mode config.bind("{{@@ key.left @@}}", "move-to-prev-char", mode="caret") config.bind("{{@@ key.up @@}}", "move-to-prev-line", mode="caret") diff --git a/dotfiles/sway.conf b/dotfiles/sway.conf index 5a366d3..1701370 100644 --- a/dotfiles/sway.conf +++ b/dotfiles/sway.conf @@ -133,8 +133,8 @@ #}}} # Workspaces: {{{ - bindsym $mod+u workspace prev - bindsym $mod+y workspace next + bindsym $mod+{{@@ key.tabL @@}} workspace prev + bindsym $mod+{{@@ key.tabY @@}} workspace next # Switch to workspace # Move focused container to workspace