nvim,emacs: remove stupid colemak binds
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -438,7 +438,8 @@ Compilation shortcuts for standalone files
 | 
				
			|||||||
* Keybinds
 | 
					* Keybinds
 | 
				
			||||||
** General
 | 
					** General
 | 
				
			||||||
*** Colemak translations
 | 
					*** Colemak translations
 | 
				
			||||||
#+begin_src emacs-lisp
 | 
					not using this anymore
 | 
				
			||||||
 | 
					#+begin_src emacs-lisp :tangle no
 | 
				
			||||||
(use-package evil-colemak-basics
 | 
					(use-package evil-colemak-basics
 | 
				
			||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (setq evil-colemak-basics-layout-mod 'mod-dh)
 | 
					  (setq evil-colemak-basics-layout-mod 'mod-dh)
 | 
				
			||||||
@@ -468,16 +469,16 @@ Compilation shortcuts for standalone files
 | 
				
			|||||||
    :keymaps '(global override vterm-mode-map)
 | 
					    :keymaps '(global override vterm-mode-map)
 | 
				
			||||||
    :states evil-states
 | 
					    :states evil-states
 | 
				
			||||||
    "M-o" 'treemacs
 | 
					    "M-o" 'treemacs
 | 
				
			||||||
    "M-v" 'split-window-vertically
 | 
					    "M-S-v" 'split-window-vertically
 | 
				
			||||||
    "M-h" 'split-window-horizontally
 | 
					    "M-S-h" 'split-window-horizontally
 | 
				
			||||||
    "M-m" 'windmove-left
 | 
					    "M-h" 'windmove-left
 | 
				
			||||||
    "M-n" 'windmove-down
 | 
					    "M-j" 'windmove-down
 | 
				
			||||||
    "M-e" 'windmove-up
 | 
					    "M-k" 'windmove-up
 | 
				
			||||||
    "M-i" 'windmove-right
 | 
					    "M-l" 'windmove-right
 | 
				
			||||||
    "M-C-m" 'shrink-window-horizontally
 | 
					    "M-C-h" 'shrink-window-horizontally
 | 
				
			||||||
    "M-C-i" 'enlarge-window-horizontally
 | 
					    "M-C-j" 'enlarge-window-horizontally
 | 
				
			||||||
    "M-C-e" 'shrink-window
 | 
					    "M-C-k" 'shrink-window
 | 
				
			||||||
    "M-C-n" 'enlarge-window
 | 
					    "M-C-l" 'enlarge-window
 | 
				
			||||||
    "M-,"  'centaur-tabs-backward
 | 
					    "M-,"  'centaur-tabs-backward
 | 
				
			||||||
    "M-."  'centaur-tabs-forward
 | 
					    "M-."  'centaur-tabs-forward
 | 
				
			||||||
    "C-q"  'delete-window
 | 
					    "C-q"  'delete-window
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -112,31 +112,31 @@ bindm=SUPER, mouse:272, movewindow
 | 
				
			|||||||
bindm=SUPER, mouse:273, resizewindow
 | 
					bindm=SUPER, mouse:273, resizewindow
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bind=$mainMod, left, movefocus, l
 | 
					bind=$mainMod, left, movefocus, l
 | 
				
			||||||
bind=$mainMod, m, movefocus, l
 | 
					bind=$mainMod, h, movefocus, l
 | 
				
			||||||
bind=$mainMod, right, movefocus, r
 | 
					bind=$mainMod, right, movefocus, r
 | 
				
			||||||
bind=$mainMod, i, movefocus, r
 | 
					bind=$mainMod, l, movefocus, r
 | 
				
			||||||
bind=$mainMod, up, movefocus, u
 | 
					bind=$mainMod, up, movefocus, u
 | 
				
			||||||
bind=$mainMod, e, movefocus, u
 | 
					bind=$mainMod, k, movefocus, u
 | 
				
			||||||
bind=$mainMod, down, movefocus, d
 | 
					bind=$mainMod, down, movefocus, d
 | 
				
			||||||
bind=$mainMod, n, movefocus, d
 | 
					bind=$mainMod, j, movefocus, d
 | 
				
			||||||
 | 
					
 | 
				
			||||||
binde=$mainMod SHIFT, left, movewindow, l
 | 
					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, right, movewindow, r
 | 
				
			||||||
binde=$mainMod SHIFT, i, movewindow, r
 | 
					binde=$mainMod SHIFT, l, movewindow, r
 | 
				
			||||||
binde=$mainMod SHIFT, up, movewindow, u
 | 
					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, 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, 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, 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, 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, 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, 1, workspace, 1
 | 
				
			||||||
bind=$mainMod, 2, workspace, 2
 | 
					bind=$mainMod, 2, workspace, 2
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,3 @@ map S rotate
 | 
				
			|||||||
map f zoom in
 | 
					map f zoom in
 | 
				
			||||||
map q zoom out
 | 
					map q zoom out
 | 
				
			||||||
map p follow link
 | 
					map p follow link
 | 
				
			||||||
#map m scroll left
 | 
					 | 
				
			||||||
#map i scroll right
 | 
					 | 
				
			||||||
#map n scroll down
 | 
					 | 
				
			||||||
#map e scroll up
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,6 +38,8 @@ vim.o.cursorcolumn = true
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
--KEYBINDS
 | 
					--KEYBINDS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--[[
 | 
				
			||||||
 | 
					A relic of the past
 | 
				
			||||||
--Colemak-DH bind fuction for hjkl [mnei]) 
 | 
					--Colemak-DH bind fuction for hjkl [mnei]) 
 | 
				
			||||||
local function cdhbind(a, b) 
 | 
					local function cdhbind(a, b) 
 | 
				
			||||||
	bind('', a:lower(),  b:lower())
 | 
						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', "<C-i>", "<C-w>l")
 | 
				
			||||||
bind('n', "<M-v>", ":vsplit<CR>")
 | 
					bind('n', "<M-v>", ":vsplit<CR>")
 | 
				
			||||||
bind('n', "<M-h>", ":split<CR>")
 | 
					bind('n', "<M-h>", ":split<CR>")
 | 
				
			||||||
 | 
					]]--
 | 
				
			||||||
 | 
					
 | 
				
			||||||
--RUN AND REPL (using vim-floaterm)
 | 
					--RUN AND REPL (using vim-floaterm)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -214,8 +217,6 @@ require'nvim-treesitter.configs'.setup {
 | 
				
			|||||||
--vim-latex-live-preview
 | 
					--vim-latex-live-preview
 | 
				
			||||||
vim.g.livepreview_previewer = "zathura"
 | 
					vim.g.livepreview_previewer = "zathura"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
require'colorizer'.setup()
 | 
					require'colorizer'.setup()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local on_attach = function(client, bufnr)
 | 
					local on_attach = function(client, bufnr)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user