neovim: Quickfix shortcuts
This commit is contained in:
parent
c5f20146dc
commit
e35cb89d84
1 changed files with 4 additions and 0 deletions
|
|
@ -114,6 +114,10 @@ vim.keymap.set("n", ";cc", ':let @+=expand("%")<CR>')
|
||||||
vim.keymap.set("n", ";cl", ':let @+=join([expand("%"), line(".")], ":")<CR>')
|
vim.keymap.set("n", ";cl", ':let @+=join([expand("%"), line(".")], ":")<CR>')
|
||||||
vim.keymap.set("n", ";cp", ':let @+=expand("%:p")<CR>')
|
vim.keymap.set("n", ";cp", ':let @+=expand("%:p")<CR>')
|
||||||
|
|
||||||
|
-- Open/close quickfix list
|
||||||
|
vim.keymap.set("n", "<Space>q", ":cclose<CR>")
|
||||||
|
vim.keymap.set("n", "<Space>Q", ":botright copen<CR>")
|
||||||
|
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
command Crosshair :set virtualedit=all cursorcolumn
|
command Crosshair :set virtualedit=all cursorcolumn
|
||||||
command NoCrosshair :set virtualedit= nocursorcolumn
|
command NoCrosshair :set virtualedit= nocursorcolumn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue