diff options
Diffstat (limited to '.config/nvim/lua/bindings.lua')
-rw-r--r-- | .config/nvim/lua/bindings.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua index 49f2cf9..63ea8df 100644 --- a/.config/nvim/lua/bindings.lua +++ b/.config/nvim/lua/bindings.lua @@ -11,16 +11,16 @@ vim.keymap.set('n', '<C-q>', '<C-w>q', { noremap = true, silent = false }) vim.keymap.set('n', '*', '*zz', { noremap = true, silent = false }) vim.keymap.set('n', '<C-d>', '<C-d>zz', { noremap = true, silent = false }) vim.keymap.set('n', '<C-u>', '<C-u>zz', { noremap = true, silent = false }) -vim.keymap.set('n', '<M-1>', '<Plug>AirlineSelectTab1') -vim.keymap.set('n', '<M-2>', '<Plug>AirlineSelectTab2') -vim.keymap.set('n', '<M-3>', '<Plug>AirlineSelectTab3') -vim.keymap.set('n', '<M-4>', '<Plug>AirlineSelectTab4') -vim.keymap.set('n', '<M-5>', '<Plug>AirlineSelectTab5') -vim.keymap.set('n', '<M-6>', '<Plug>AirlineSelectTab6') -vim.keymap.set('n', '<M-7>', '<Plug>AirlineSelectTab7') -vim.keymap.set('n', '<M-8>', '<Plug>AirlineSelectTab8') -vim.keymap.set('n', '<M-9>', '<Plug>AirlineSelectTab9') -vim.keymap.set('n', '<M-0>', '<Plug>AirlineSelectTab10') +vim.keymap.set('n', '<M-1>', ':b1<CR>') +vim.keymap.set('n', '<M-2>', ':b2<CR>') +vim.keymap.set('n', '<M-3>', ':b3<CR>') +vim.keymap.set('n', '<M-4>', ':b4<CR>') +vim.keymap.set('n', '<M-5>', ':b5<CR>') +vim.keymap.set('n', '<M-6>', ':b6<CR>') +vim.keymap.set('n', '<M-7>', ':b7<CR>') +vim.keymap.set('n', '<M-8>', ':b8<CR>') +vim.keymap.set('n', '<M-9>', ':b9<CR>') +vim.keymap.set('n', '<M-0>', ':b10<CR>') vim.keymap.set('i', '<C-j>', 'pumvisible() ? "<C-n>" : "<C-j>"', { expr = true }) vim.keymap.set('i', '<C-k>', 'pumvisible() ? "<C-p>" : "<C-k>"', { expr = true }) vim.keymap.set('i', '<cr>', 'pumvisible() ? asyncomplete#close_popup() : "\\<cr>"', { expr = true }) |