Nvim - Core: Added mappings for fast buffer switching

This commit is contained in:
pr0c3550r 2023-03-31 19:26:19 +02:00
parent 447c1e8404
commit 5f194f1338
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,8 @@ vim.api.nvim_set_keymap("n", "<C-l>", "<C-w>l", {})
vim.api.nvim_set_keymap("n", "<leader><tab>", "<C-^>", {})
vim.api.nvim_set_keymap("n", "<leader>on", "<cmd>w <bar> %bd <bar> e#<cr>", {})
vim.api.nvim_set_keymap("n", "<leader>bd", "<cmd>bd<cr>", {})
vim.api.nvim_set_keymap("n", "<S-h>", "<cmd>bprevious<cr>", {})
vim.api.nvim_set_keymap("n", "<S-l>", "<cmd>bnext<cr>", {})
-- moving visual blocks

View file

@ -4,4 +4,4 @@ vim.api.nvim_set_option("statusline", " %F %h%m%r %= %= %l,%c ")
-- tabline
-- always show tabline (0 = never, 1 = only with at least 2 tabs, 2 = always) and colors
vim.api.nvim_set_option("showtabline", 1)
vim.api.nvim_set_option("showtabline", 2)