chg: Switch back to using tabs to avoid error buffers

This commit is contained in:
Sayantan Santra 2024-03-29 00:17:54 -05:00
parent bf01840904
commit 5d457bec36
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
6 changed files with 21 additions and 6 deletions

View file

@ -31,8 +31,8 @@ map('n', '<leader>O', ":<c-u>call append(line('.')-1, repeat([''], v:count1))<cr
map('n', '<leader>u', "<c-r>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', ":bnext<cr>", { remap = false })
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -2,6 +2,11 @@ local fzf = require("fzf-lua")
-- Default settings for fzf-lua
fzf.setup({
actions = {
files = {
['default'] = fzf.actions.file_tabedit,
},
},
files = {
cmd = "rg --files",
},

View file

@ -23,8 +23,8 @@ map('n', '<leader>u', "<c-r>", { remap = false })
map('n', '<leader>f', ":Files<cr>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', ":bnext<cr>", { remap = false })
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -2,6 +2,11 @@ local fzf = require("fzf-lua")
-- Default settings for fzf-lua
fzf.setup({
actions = {
files = {
['default'] = fzf.actions.file_tabedit,
},
},
files = {
cmd = "rg --files",
},

View file

@ -22,8 +22,8 @@ map('n', '<leader>u', "<c-r>", { remap = false })
map('n', '<leader>f', ":Files<cr>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', ":bnext<cr>", { remap = false })
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -2,6 +2,11 @@ local fzf = require("fzf-lua")
-- Default settings for fzf-lua
fzf.setup({
actions = {
files = {
['default'] = fzf.actions.file_tabedit,
},
},
files = {
cmd = "rg --files",
},