nvim,emacs: remove stupid colemak binds

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 06:32:30 +05:30
parent ab43a24e08
commit c8d74d3af8
4 changed files with 27 additions and 29 deletions

View File

@@ -438,7 +438,8 @@ Compilation shortcuts for standalone files
* Keybinds
** General
*** Colemak translations
#+begin_src emacs-lisp
not using this anymore
#+begin_src emacs-lisp :tangle no
(use-package evil-colemak-basics
:init
(setq evil-colemak-basics-layout-mod 'mod-dh)
@@ -468,16 +469,16 @@ Compilation shortcuts for standalone files
:keymaps '(global override vterm-mode-map)
:states evil-states
"M-o" 'treemacs
"M-v" 'split-window-vertically
"M-h" 'split-window-horizontally
"M-m" 'windmove-left
"M-n" 'windmove-down
"M-e" 'windmove-up
"M-i" 'windmove-right
"M-C-m" 'shrink-window-horizontally
"M-C-i" 'enlarge-window-horizontally
"M-C-e" 'shrink-window
"M-C-n" 'enlarge-window
"M-S-v" 'split-window-vertically
"M-S-h" 'split-window-horizontally
"M-h" 'windmove-left
"M-j" 'windmove-down
"M-k" 'windmove-up
"M-l" 'windmove-right
"M-C-h" 'shrink-window-horizontally
"M-C-j" 'enlarge-window-horizontally
"M-C-k" 'shrink-window
"M-C-l" 'enlarge-window
"M-," 'centaur-tabs-backward
"M-." 'centaur-tabs-forward
"C-q" 'delete-window

View File

@@ -112,31 +112,31 @@ bindm=SUPER, mouse:272, movewindow
bindm=SUPER, mouse:273, resizewindow
bind=$mainMod, left, movefocus, l
bind=$mainMod, m, movefocus, l
bind=$mainMod, h, movefocus, l
bind=$mainMod, right, movefocus, r
bind=$mainMod, i, movefocus, r
bind=$mainMod, l, movefocus, r
bind=$mainMod, up, movefocus, u
bind=$mainMod, e, movefocus, u
bind=$mainMod, k, movefocus, u
bind=$mainMod, down, movefocus, d
bind=$mainMod, n, movefocus, d
bind=$mainMod, j, movefocus, d
binde=$mainMod SHIFT, left, movewindow, l
binde=$mainMod SHIFT, m, movewindow, l
binde=$mainMod SHIFT, h, movewindow, l
binde=$mainMod SHIFT, right, movewindow, r
binde=$mainMod SHIFT, i, movewindow, r
binde=$mainMod SHIFT, l, movewindow, r
binde=$mainMod SHIFT, up, movewindow, u
binde=$mainMod SHIFT, e, movewindow, u
binde=$mainMod SHIFT, k, movewindow, u
binde=$mainMod SHIFT, down, movewindow, d
binde=$mainMod SHIFT, n, movewindow, d
binde=$mainMod SHIFT, j, movewindow, d
binde=SHIFT ALT, left, resizeactive, -10 0
binde=SHIFT ALT, m, resizeactive, -10 0
binde=SHIFT ALT, h, resizeactive, -10 0
binde=SHIFT ALT, right, resizeactive, 10 0
binde=SHIFT ALT, i, resizeactive, 10 0
binde=SHIFT ALT, l, resizeactive, 10 0
binde=SHIFT ALT, up, resizeactive, 0 -10
binde=SHIFT ALT, e, resizeactive, 0 -10
binde=SHIFT ALT, k, resizeactive, 0 -10
binde=SHIFT ALT, down, resizeactive, 0 10
binde=SHIFT ALT, n, resizeactive, 0 10
binde=SHIFT ALT, j, resizeactive, 0 10
bind=$mainMod, 1, workspace, 1
bind=$mainMod, 2, workspace, 2

View File

@@ -8,7 +8,3 @@ map S rotate
map f zoom in
map q zoom out
map p follow link
#map m scroll left
#map i scroll right
#map n scroll down
#map e scroll up

View File

@@ -38,6 +38,8 @@ vim.o.cursorcolumn = true
--KEYBINDS
--[[
A relic of the past
--Colemak-DH bind fuction for hjkl [mnei])
local function cdhbind(a, b)
bind('', a:lower(), b:lower())
@@ -68,6 +70,7 @@ bind('n', "<C-e>", "<C-w>k")
bind('n', "<C-i>", "<C-w>l")
bind('n', "<M-v>", ":vsplit<CR>")
bind('n', "<M-h>", ":split<CR>")
]]--
--RUN AND REPL (using vim-floaterm)
@@ -214,8 +217,6 @@ require'nvim-treesitter.configs'.setup {
--vim-latex-live-preview
vim.g.livepreview_previewer = "zathura"
require'colorizer'.setup()
local on_attach = function(client, bufnr)