Ver Fonte

nixpkgs/neovim: remove jj and ; mappings

Thomas Dy há 2 semanas atrás
pai
commit
18daeda05c

+ 2 - 1
.config/nixpkgs/neovim/config/lua/user/plugins/telescope.lua

@@ -30,7 +30,8 @@ telescope.setup({
   defaults = {
     mappings = {
       i = {
-        ['jj'] = 'close',
+        ['<Esc>'] = 'close',
+        ['<C-e>'] = 'close',
       },
     },
     layout_config = {

+ 0 - 5
.config/nixpkgs/neovim/config/lua/user/settings.lua

@@ -54,11 +54,6 @@ vim.o.mouse = 'v'
 vim.o.shell = '/bin/sh'
 
 -- basic keymaps
--- ; as :
-vim.keymap.set({ 'n', 'v' }, ';', ':')
-
--- leave insert mode via jj
-vim.keymap.set('i', 'jj', '<ESC>')
 
 -- j/k with wraps
 vim.keymap.set({ 'n', 'v' }, 'j', 'gj')