Compare commits

..

No commits in common. "272074255abd6ce5467d69564e1103d5a1ebf1a6" and "d5133b0491fb24c8b5237e041a5608a84929d9c9" have entirely different histories.

8 changed files with 45 additions and 9 deletions

@ -1 +1 @@
Subproject commit 7516e2e4849fb633555d5d40c2137e585ed10b64
Subproject commit 6db58b33795430a6165f27c7f796c420c0e098e4

@ -1 +1 @@
Subproject commit a4e30d33add8a9743b4f518b3a788b3c8e5def71
Subproject commit 84a26afce16cffa7e3322cfa80a42cddf60616eb

@ -1 +1 @@
Subproject commit b350369740e885c85f0f62dd8fe645c6f887ddc6
Subproject commit c16f66cca0c38b4e21371d8330b7f2ad6404f6dc

@ -1 +1 @@
Subproject commit 23b820146956b3b681c19e10d3a8bc0cbd9a1d4c
Subproject commit 2aa454e4037424c678a8ff033951a5be39e54b9c

@ -1 +1 @@
Subproject commit a6382f744f584bbf71d0a563af789af7190aabda
Subproject commit 734ebad31c81c6198dfe102aa23280937c937c42

@ -1 +1 @@
Subproject commit 2ff2d78fb8933e7ac1b165c250d077c2afc1eaff
Subproject commit 9ebf4af97b5d673b249b12f359b872f0890309bf

View file

@ -64,7 +64,4 @@ autocmd FileChangedRO * nested set noreadonly
"disable the whitespace plugin for mail
autocmd BufEnter,FileType mail hi ExtraWhitespace ctermbg=NONE guibg=NONE
"close the quickfix if it's the last window
autocmd WinEnter * if winnr("$") == 1 && &buftype == "quickfix"|q|endif
"}}}

39
vim/config/plugins/qf.lua Normal file
View file

@ -0,0 +1,39 @@
require("qf").setup {
-- Location list configuration
l = {
auto_close = true, -- Automatically close location/quickfix list if empty
auto_follow = 'prev', -- Follow current entry, possible values: prev,next,nearest, or false to disable
auto_follow_limit = 8, -- Do not follow if entry is further away than x lines
follow_slow = true, -- Only follow on CursorHold
auto_open = false, -- Automatically open list on QuickFixCmdPost
auto_resize = true, -- Auto resize and shrink location list if less than `max_height`
max_height = 12, -- Maximum height of location/quickfix list
min_height = 5, -- Minimum height of location/quickfix list
wide = true, -- Open list at the very bottom of the screen, stretching the whole width.
number = false, -- Show line numbers in list
relativenumber = false, -- Show relative line numbers in list
unfocus_close = false, -- Close list when window loses focus
focus_open = false, -- Auto open list on window focus if it contains items
},
-- Quickfix list configuration
c = {
auto_close = true, -- Automatically close location/quickfix list if empty
auto_follow = 'prev', -- Follow current entry, possible values: prev,next,nearest, or false to disable
auto_follow_limit = 8, -- Do not follow if entry is further away than x lines
follow_slow = true, -- Only follow on CursorHold
auto_open = false, -- Automatically open list on QuickFixCmdPost
auto_resize = true, -- Auto resize and shrink location list if less than `max_height`
max_height = 12, -- Maximum height of location/quickfix list
min_height = 5, -- Minimum height of location/quickfix list
wide = true, -- Open list at the very bottom of the screen, stretching the whole width.
number = false, -- Show line numbers in list
relativenumber = false, -- Show relative line numbers in list
unfocus_close = false, -- Close list when window loses focus
focus_open = false, -- Auto open list on window focus if it contains items
},
close_other = false, -- Close location list when quickfix list opens
pretty = false, -- Pretty print quickfix lists
silent = true, -- Suppress messages like "(1 of 3): *line content*" on jump
}