keep visual mode after indenting and higlight cursorline
This commit is contained in:
parent
f2814605e6
commit
7ba5c3cf44
2 changed files with 7 additions and 0 deletions
|
|
@ -42,3 +42,7 @@ local function quickfix()
|
|||
end
|
||||
vim.keymap.set('n', '<leader>qf', quickfix)
|
||||
|
||||
|
||||
-- stay in visual mode after indenting/dedenting
|
||||
vim.keymap.set('v', '<', '<gv')
|
||||
vim.keymap.set('v', '>', '>gv')
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- highlight current line
|
||||
vim.opt.cursorline = true
|
||||
|
||||
vim.opt.breakindent = true
|
||||
|
||||
-- default indentation
|
||||
|
|
|
|||
Loading…
Reference in a new issue