Commit Graph

227 Commits

Author SHA1 Message Date
ef6fc7458a
vimrc: comment out 'nocompatible' 2022-10-06 15:58:58 +02:00
c91bc341ca
vimrc: add augroup for lsp format sync 2022-10-06 15:42:55 +02:00
a2c0d7247c
vimrc: add augroup for pyls 2022-10-06 15:41:40 +02:00
a85ccd7318
vimrc: add augroup for filetype autocmds 2022-10-06 15:39:34 +02:00
9bea067fbe
vimrc: add settings for markdown 2022-10-06 15:37:46 +02:00
c783fc8438
vimrc: add augroup for view saving/loading 2022-10-06 15:33:14 +02:00
b1d22e33b4
vimrc(plug): add vim-startify 2022-09-12 23:14:25 +02:00
31b35a8fb1
vimrc: wrap PlugInstall in augroup 2022-09-11 20:09:07 +02:00
6f75f4e339
systemd,vimrc: add,use gopls daemon 2022-08-16 14:03:51 +02:00
1f77282fe1
vimrc: use long options 2022-08-12 21:05:58 +02:00
64cd85b6b4
vimrc: set backup options 2022-08-12 21:01:34 +02:00
c2638d3719
vimrc: conditionally add include dirs for c/cpp 2022-08-12 20:59:51 +02:00
19d41d61e3
vimrc: add plug vim-highlight-match-under-cursor 2022-08-12 20:53:04 +02:00
30c3fa10f0
vimrc: rm custom hi ColorColumn 2022-08-11 13:04:03 +02:00
dba1270128
vimrc: rm custom hi CursorLineNR 2022-08-11 13:03:00 +02:00
f3e47a5368
vimrc: set default clipboard register 2022-08-11 12:59:11 +02:00
12c3eff3c2
vimrc: set exrc+secure 2022-08-11 12:58:49 +02:00
22e33ea628
vimrc: " -> ' 2022-08-11 12:48:30 +02:00
ae92727871
vimrc: add func to refresh ui after sourcing vimrc 2022-08-11 12:47:55 +02:00
acd1a835cd
vimrc: add func confirming the current runtime env 2022-08-11 12:43:23 +02:00
48e8487801
vimrc: add src-hdr file switching func 2022-08-11 12:41:49 +02:00
6c14d6dbee
vimrc: add mappings to resize windows easily 2022-08-11 12:39:16 +02:00
b77aa72fe6
vimrc: add tab switching mappings 2022-08-11 12:37:41 +02:00
3900620751
vimrc: add ifndef tmpl mapping 2022-08-11 12:37:19 +02:00
77d6e5ee3a
vimrc: mv mapping 2022-08-11 12:36:04 +02:00
7d359d279c
vimrc: add automkdir func 2022-08-11 12:33:20 +02:00
0510f85823
vimrc: rm metakey-handling bindings 2022-08-11 12:31:28 +02:00
7538b80116
vimrc(go): load correct gotags file
...and prefer single quoted strings
2022-08-09 18:06:07 +02:00
143851d9af
vimrc: improve clipboard handling 2022-08-09 18:03:26 +02:00
5942afdee6
vimrc: add vim-go.vim options 2022-08-09 18:00:07 +02:00
5b25502440
vimrc: add mapping to browse old files 2022-08-09 17:56:10 +02:00
cee0d37c81
vimrc: modernise ALE bindings 2022-08-09 17:54:45 +02:00
e060b3e19a
vimrc: rm nerdtree-related code 2022-08-09 17:52:17 +02:00
b9e6f98958
vimrc: indent line 2022-08-09 17:50:18 +02:00
f84068c2c1
vimrc: set ts,sw=4, tw=99 for ft=sway 2022-08-09 17:48:12 +02:00
0009ce5156
vimrc: set ft=tex formatting 2022-08-09 17:47:09 +02:00
1c9adcdb20
vimrc: set {c,h,cpp,hpp} formatting (redundantly) 2022-08-09 17:46:35 +02:00
d472da82e2
vimrc: set formatting for ft=yaml 2022-08-09 17:43:57 +02:00
7c5b576eb1
vimrc: no autocomments 2022-08-09 17:43:11 +02:00
359a41642f
vimrc: highlight column 80 (long lines) 2022-08-09 17:41:25 +02:00
945e50ef02
vimrc: rm syntastic 2022-08-09 17:38:53 +02:00
185eaf02c9
vimrc: map ALEGoToDefinition 2022-07-22 19:11:28 +02:00
4ead399fb2
vimrc: show full path on <c-g> 2022-07-22 19:09:49 +02:00
cbc8030754
vimrc(airline): enable 'minimalist' theme 2022-07-22 19:07:50 +02:00
26f2429574
vimrc(airline): skip empty sections 2022-07-22 19:06:58 +02:00
d4c1e01134
vimrc(airline): disable warning section entirely 2022-07-22 19:06:47 +02:00
3db8c3fd9c
vimrc(airline): add,change tabline settings 2022-07-22 19:05:47 +02:00
e3f9ebd693
vimrc(airline): check for,set certain symbols 2022-07-22 19:02:20 +02:00
d801698f49
vimrc(airline): enable mixed-indent algo warning 2022-07-22 19:00:12 +02:00
11319a0fc3
vimrc(plug): conditionally enable rust,go plugins 2022-07-22 18:45:49 +02:00
297ba349a0
vimrc(plug): conditionally enable ansible-vim... 2022-07-22 18:38:16 +02:00
299a7df554
vimrc: add ansible-vim prefs 2022-07-22 18:37:25 +02:00
b155af6cab
vimrc: set conceallevel for json,markdown 2022-07-22 18:36:18 +02:00
0812ef0859
vimrc: add netrw preferences 2022-07-22 18:35:29 +02:00
9eb0b5c9e3
vimrc(plug): add,conditionally enable vim-shfmt 2022-07-22 18:33:42 +02:00
3a46d32213
vimrc(plug): conditionally enable vim-ft-bzl 2022-07-22 18:29:32 +02:00
550e4b34b5
vimrc: don't manipulate 'Normal {cterm,gui}bg'
follow-up of 8afcf78eb9

ref: https://sw.kovidgoyal.net/kitty/faq/#using-a-color-theme-with-a-background-color-does-not-work-well-in-vim
2022-07-22 18:23:53 +02:00
18bb809e35
vimrc: set cmdheight 2022-07-22 18:18:49 +02:00
82a58dc4d2
vimrc: set fileencoding 2022-07-22 18:17:14 +02:00
52d8a48ea5
vimrc: prefer,enable manual folding 2022-07-22 18:16:44 +02:00
798f97d873
vimrc: set nobreakindent 2022-07-22 18:15:47 +02:00
33d37b3eb9
vimrc: set diffopt(s) 2022-07-22 18:15:19 +02:00
28d9990bdb
vimrc: add wildignore(s) 2022-07-22 18:14:33 +02:00
43c647ca6e
vimrc: set wrapscan 2022-07-22 18:12:23 +02:00
048c67bccb
vimrc: move {smart,ignore}case opts 2022-07-22 18:10:59 +02:00
51650126b3
vimrc: comment out indentline settings 2022-07-22 18:08:29 +02:00
108d7721b9
vimrc: add modeline 2022-07-21 16:30:54 +02:00
8afcf78eb9
vimrc(kitty): work around background colour erase 2022-07-21 16:29:51 +02:00
4b92e3439c
vimrc: set buffer-friendly undo policy 2022-07-21 12:08:15 +02:00
f7559165e6
vimrc: add <,> to matchpairs 2022-07-21 12:03:28 +02:00
c1b7cf3ca0
vimrc: hide listchars by default 2022-07-21 12:02:47 +02:00
367983631a
vimrc: amend listchars 2022-07-21 11:49:22 +02:00
0c14bd626d
vimrc: add commands for easy notes creation 2022-07-14 16:40:57 +02:00
1fd28c8046
vimrc: add mappings for buffer switching 2022-07-14 16:07:14 +02:00
2185271ce9
vimrc: add ctrlP settings 2022-07-14 15:37:41 +02:00
07760ea060
vimrc(airline): explicitly {en,dis}able extensions 2022-07-14 15:29:00 +02:00
5b238bcc12
vimrc(airline): enable experimental 2022-07-14 15:18:41 +02:00
3504f7c02c
vimrc: disable unused plugins 2022-07-14 15:15:42 +02:00
400a73ba9b
vimrc(NERDCommenter): add <c-_> (ctrl+/) mapping 2022-07-14 15:11:30 +02:00
b6559c44db
vimrc(NERDCommenter): add system{d,ctl} delimiters 2022-07-14 15:09:05 +02:00
a59f0bdf10
vimrc(gitgutter): add explicit mappings 2022-07-14 13:49:13 +02:00
cbbabbd0bb
vimrc: adjust completeopt to show popup 2022-07-14 11:30:42 +02:00
b0a76478d2
vimrc: set-up LSP, enable for {go,nix,zig,c,cs,py}
as a consequence, disable syntastic as they partially overlap
in functionality.
2022-07-14 11:00:00 +02:00
5cb9cd0fd5
vimrc: load ctrlp.vim by default (on start-up) 2022-07-02 21:33:38 +02:00
85781c67f6
vimrc: add colourschemes for rainy days 2022-07-02 21:28:20 +02:00
f6b568e7bd
vimrc: rm legacy (neocomplete-related) block 2022-07-02 21:25:37 +02:00
b42920e007
direnv,vim: add 'add_extra_vimrc' 2022-05-06 22:52:07 +02:00
44334b81de
vimrc: add gotags.vimrc.vim 2022-04-29 00:27:09 +02:00
606fb8163f
vimrc: make CursorLineNR bold 2021-11-10 01:28:37 +01:00
67c5365a5d
vimrc: fix meta (here alt) keys 2021-11-10 01:26:38 +01:00
3122079ebf
vimrc(chore): add bindings to edit,reload $MYVIMRC 2021-11-10 01:24:22 +01:00
7e19e80927
vimrc: floating popups ("baloons") related 2021-11-10 01:22:18 +01:00
f5651bc830
vimrc: enable cursorcolumn 2021-11-10 01:21:07 +01:00
32f2bd2b79
vimrc: add cursorline-related optimizations 2021-11-10 01:19:45 +01:00
60e8b840c4
vimrc: add rust filetype parameters (opinionated) 2021-11-10 01:15:26 +01:00
063420cb1f
vimrc: add ALE fixers+linters
caveat: they need to be locally installed
2021-11-10 01:11:30 +01:00
ef406a6c2b
vimrc: better scope plugin loading 2021-11-10 01:08:28 +01:00
6e946f2863
vimrc: add function, binding for latex+bibtex
* integrates better with Vimtex
* automates working with bibtex
2021-11-10 01:03:15 +01:00
9cdf3613e1
vimrc: change caret colour in --I-- to purple
* better caret visibility on dark terminal background
2021-11-10 00:45:54 +01:00
6ddbf358ab
vimrc: gitgutter use floating popups 2021-11-10 00:42:30 +01:00
c5094e0ae8
vimrc: add ALE configuration options 2021-11-10 00:40:00 +01:00
106bd7ba91
vimrc: add bazel/starlark filetype highlighting
courtesy of bazelbuild/vim-ft-bzl
2021-11-10 00:35:12 +01:00
0b2c03c633
vimrc: set updatetime to 250 2021-09-01 16:42:29 +02:00
75e56e8607
vimrc: add vimtex highlighting groups 2021-05-29 21:22:54 +02:00
152a57b45d
vimrc: load nerdcommenter right away 2021-05-29 21:21:59 +02:00
b6d34d41e1
vimrc: kitty transparency+space_vim_theme fix
* unset the colorscheme background, just use whatever is set for kitty
* the above allows for termguicolors to be set without issues (at least
  with space_vim_theme)
2021-05-29 21:18:05 +02:00
973342d547
chore(vimrc): add autocmd setting for bibtex files 2021-05-20 20:35:13 +02:00
ee281479af
chore(vimrc): update gitgutter congiguration
* set sign backgrouds = 0
* preview win floating = 0 as the floating window with vim has some
  issues (overflowing the parent window, resulting in illegible text,
  low bg contrast)
2021-05-20 20:32:50 +02:00
5d3a740b24
chore(vimrc): add ALE list window config params 2021-05-20 20:17:59 +02:00
0f1cfa623c
chore(vimrc): add vim-gitgutter plugin 2021-05-20 20:17:10 +02:00
1861310a9b
vimrc: terminal mode enhancements
* add keybinds to run make in the {back,fore}ground and open the
  terminal once done
* add keybind to enter terminal normal mode easily
2021-05-03 14:43:57 +02:00
31e3b051f2
vimrc: set options for ft=sway and tw=79 generally 2021-05-03 04:41:52 +02:00
de591a7f7a
vimrc: optimise plugin loading + linter setting
* theme change to space_vim_theme
* airline theme change to violet
* compensate for themes not setting italic by setting it ourselves
* airline mode set to the short versions of normal, insert, visual,
  etc...

* enable vim popups (ballooneval)

* add ALE linter

* syntastic conditional loading
* Plug plugins conditional loading
* plugins slowing down vim startup are only loaded based on
  event hooks that's active once vim loaded the file {CursorHold,CursorHoldI}
* {plugin,theme,general} clean-up
2021-05-03 02:05:15 +02:00
40a45bfefd
vimrc: thic cursor pls 2021-03-23 19:37:38 +01:00
bfebde7a58
vimrc: add wiki plugin 2021-03-23 19:36:36 +01:00
83283e3645
vimrc: set Fira Code as gui font 2021-03-15 14:18:07 +01:00
d748fb4415
vimrc: cursor updates 2021-03-15 14:16:36 +01:00
d3c2cc87fb
vimrc: syntastic setting updates 2021-03-15 14:15:41 +01:00
bae9b0d39b
vimrc: run gitgutter calls asynchronously 2021-03-15 14:14:40 +01:00
54d4ed9469
vimrc: plugin updates 2021-03-15 14:13:32 +01:00
cbb464b1a8
fix: deoplete updating
* don't call nvim command
* enable at startup
2021-02-10 23:26:30 +01:00
88fbf9e0cb
chore: set autoload for tex files 2021-02-04 22:56:22 +01:00
d1182628a3
vimrc: set conceallevel properly 2021-02-04 22:56:15 +01:00
ab973281fd
feat: vimrc updates 2020-10-05 18:32:34 +02:00
2d8d5892f5
feat: notermguicolors; feat: pdflatex compilation shorthand 2020-06-11 23:06:33 +02:00
aa3dff77a4
feat: vimrc enhancements
* feat: added latex compilation nmap
* feat: set scrolloff=5
* feat: set noerrorbells (silence)
* feat: set conceallevel=0 - esp. noticeable in json files
* feat: set termguicolors
* fix: vim in tmux mouse fix (in qterminal)
* refactor: use palenight.vim as palenight
* refactor: move stuff around
2020-05-27 10:25:31 +02:00
af9d41c0b9
moved vimrc to a folder 2020-04-29 15:12:42 +02:00