113 Commits

Author SHA1 Message Date
51621e8134 Remove vim-plug and use minpac
* Add `Pack`, `PackUpdate`, `PackStatus` and `PackClean` commands to
  manage plugins.
* Don't load `minpac` by default.
* Remove `vim-plug` completely.
2018-11-30 19:41:21 +00:00
3a60c0abcf Improve static_assert snippet & increase sync minlines 2018-11-30 17:46:46 +00:00
d3a8920bf7 Set viminfofile to ~/.cache/vim/info 2018-10-19 12:01:03 +01:00
992096a2a0 Add :Debug command
The :Debug command quickly starts a new debugging sessions.

* adds the `termdebug` package
* invokes `TermdebugCommand` with the given arguments
2018-09-14 16:17:09 +01:00
c80ddd3617 Add mapping to rename include guards in c/cpp 2018-09-07 22:13:29 +01:00
6fb2f7a01c Remove cursorline option 2018-08-30 23:37:28 +01:00
3777a990f2 Show cursor line with different highlight group 2018-08-26 10:51:11 +01:00
f7d07f23da Add TODO's for :LStripLines 2018-08-26 10:51:11 +01:00
ca84ee59ed Actually enable relative number when available 2018-08-26 10:51:11 +01:00
7ace086458 Don't match non conflict markers 2018-08-26 10:51:11 +01:00
fe197a4c76 Add conflict marker highlights as TODO's
For all filetype's highlight conflict markers with the Todo highlight
group and leave trailing text as before. This makes conflict markers
very obvious, in C/C++ where I have operator highlighting conflict
markers are not longer highlighted as operators.
2018-08-26 10:51:11 +01:00
5380ea7c78 Remove relativenumber autocmds
These kept disabling relativenumber when editing which was annoying.
2018-08-26 10:51:11 +01:00
bc014309ef Remove vim-sensible
vim-sensible includes and old matchit.vim which interfears with
vim-matchup and sets some defaults which are then overridden in
plugins/settings.vim. Remove vim-sensible and document the retained
settings.
2018-08-26 10:51:11 +01:00
0416a42e08 Support changing cursor shape for iTerm2 in tmux 2018-08-26 10:51:11 +01:00
eebe101050 Fix vim cursor shape after tmux terminal-overrides 2018-08-26 10:51:11 +01:00
d8ad04297b Use tmux terminal-override for cursor shape on VTE 2018-08-26 10:51:11 +01:00
87d78f9c7a Move relevant settings closer together 2018-08-26 10:50:08 +01:00
1db9ea30ee Enable cursor shape changes by default 2018-08-26 10:50:08 +01:00
603ed76994 Move mouse setting 2018-08-26 10:50:08 +01:00
b46d172e02 Extend enabled listchars, enable showbreak 2018-08-26 10:50:08 +01:00
1ace437587 Guard relativenumber setting 2018-08-26 10:50:08 +01:00
e32c6824f6 Remove cruft and add TODO's 2018-08-26 10:50:08 +01:00
4040dc7508 Move rarely used functions to autoload 2018-08-26 10:50:08 +01:00
e292b937d0 Enable visual highlight of trail spaces and tabs 2018-08-26 10:50:08 +01:00
e049445284 Remove autocmd to right string white space 2018-08-26 10:50:08 +01:00
981cb46c7c Add :ISort vim command 2018-08-26 10:50:08 +01:00
0e419ee514 Add .env/.out filetype autocmds 2018-08-26 10:50:08 +01:00
ac0f5b0b93 Add GitGutter next/prev hunk mappings 2018-08-26 10:50:07 +01:00
87d9693973 Add mapping for :Ag <cword> 2018-08-26 10:50:07 +01:00
c953ae7dbf Fix vint warning and errors in functions.vim 2018-08-26 10:50:07 +01:00
384a4dc236 Update mappings to {i,n,v}noremap 2018-08-26 10:50:07 +01:00
0d66f1acec Use existing windows/tabs when jumping to errors 2018-08-26 10:50:07 +01:00
c28e93210e Check features are available before using them 2018-08-26 10:50:07 +01:00
e2be2de00b Use setlocal in TabWidth command 2018-08-26 10:50:07 +01:00
aac31f7831 Add preview window mappings 2018-08-26 10:50:07 +01:00
5651bb8b03 Simplify xterm256-color detection 2018-08-26 10:50:07 +01:00
f19f507833 Add missing <CR> from :lfirst mapping 2018-08-26 10:50:07 +01:00
e635d62e0c Change relativenumber behaviour 2018-08-26 10:49:14 +01:00
a8c012881a Update vim TERM checks 2018-08-26 10:49:14 +01:00
1059eb7259 Increase syntax syn minlines to 500 2018-08-26 10:49:14 +01:00
03de858c9b Only flip relativenumber for cpp files 2018-08-26 10:49:14 +01:00
567b93b256 Enable Doxygen mapping only for c, cpp filetypes 2018-08-26 10:49:14 +01:00
bd7dcb738f Add :Syntack command to view syntax group stack 2018-08-26 10:49:14 +01:00
9fbe25fee7 Add function to clone highlight groups with attrs 2018-08-26 10:49:14 +01:00
dda5ee4e8b Change name of checkbox toggle functionality 2018-08-26 10:49:14 +01:00
41aa424a57 Simplify fold text 2018-08-26 10:49:14 +01:00
80f6215530 Remap <C-L> to <C-W>L to get redraw back 2018-08-26 10:49:14 +01:00
ddc24d7fda Change show highlight mapping to use <leader> 2018-08-26 10:49:14 +01:00
4297e753eb Add todo's to investigate interesting vim settings 2018-08-26 10:45:25 +01:00
ce1d85c7b4 Add macro mode helpers
* Easily {un}map <CR> to @@
* Add macro_mode#{en,dis}able autoload functions
* Add MacroMode{En,Dis}able commands
2018-08-26 10:42:41 +01:00