chg: Switch back to using tabs to avoid error buffers
This commit is contained in:
parent
bf01840904
commit
5d457bec36
6 changed files with 21 additions and 6 deletions
|
@ -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 })
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue