diff options
author | Joe <rrbo@proton.me> | 2023-09-08 16:13:42 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-08 16:13:42 +0200 |
commit | d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef (patch) | |
tree | 7611c29ba65ee0b90db0e61fc823164b0ed3c73b /.config/nvim/lua/bindings.lua | |
parent | up (diff) | |
download | dotfiles-bsd-d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef.tar.gz dotfiles-bsd-d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef.tar.bz2 dotfiles-bsd-d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef.tar.xz dotfiles-bsd-d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef.tar.zst dotfiles-bsd-d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef.zip |
up
Diffstat (limited to '')
-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 }) |