Commit graph

45 commits

Author SHA1 Message Date
Marty Oehme 6f2f130212 Add golangci linter to vim through ale 2019-07-08 22:06:25 +02:00
Marty Oehme 9a1617b78a Add go configuration to vim
added vim-go plugin and assorted mappings for tests, navigation, running
and documenting go files
2019-07-03 11:49:24 +02:00
Marty Oehme 368032a73c Switch vim keys for Buffer/File opening
Switch fuzzy opening of buffers to <leader>f, and set opening files in
work directory to <leader>F. Switching these two is intended to allow
easier access to buffer switching, which I use much more often than file
access, especially when working over a longer time-frame in vim.
2019-06-26 21:03:33 +02:00
Marty Oehme 07c3d6e05b Revert removal of wiki delete page mapping 2019-06-13 21:38:50 +02:00
Marty Oehme 5257d3e191 Fix keybinds for wiki.vim keeping defaults
HACK HACK HACK
The default keybinds for wiki.vim are now kept, only removing the ones
that I don't need. For now, since wiki.vim does not seem to allow empty
strings being passed as its keybinds (in order to remove them by
overwriting with empty), it just assigns bogus binds with
<leader>== and an arbitrary number of === following.
2019-06-13 11:12:55 +02:00
Marty Oehme 078259182c Add vim rg fulltext fuzzy search for current dir
Allows searching current working directory's files with rg (or
ag,pt,find) when invoked with <c-F> in vim.
2019-06-12 15:11:59 +02:00
Marty Oehme 6557b8dce0 Add quick fuzzy note search to wiki
Use <leader>wf from anywhere to fuzzysearch a phrase over the notes. If
no initial input is given loads all files into the interactive
fuzzysearch. Use <leader>wF to load a more detailed, full-screen windows
(via CtrlSF) which allows direct editing of results and more.
2019-06-12 14:56:15 +02:00
Marty Oehme f06ab7804e Remove subset of vim wiki default mappings
Only keep some of the default vimwiki mappings, since the rest I don't
really need (currently) and they interfere with some other operations I
intend to map (e.g. <leader>wf should fuzzysearch wiki but will toggle a
link when overwritten by the defaults).
2019-06-12 14:22:28 +02:00
Marty Oehme 6298daeca2 Add configurable wiki root directory
Can be set through environment variable WIKIROOT. By default points to
~/Nextcloud/Notes/ but is kept configurable for each computer. Will be
picked up by vim wiki plugin to enable wiki functionality for the
respective directory.
2019-06-12 14:18:46 +02:00
Marty Oehme abccdc7a62 Remove obsolete vim-zettel configuration 2019-06-12 13:34:25 +02:00
Marty Oehme f7b304966c Add full-text search to notes
Adds full-text search with CtrlSF vim plugin. Activated via
<leader>wf, to spell wiki-find (mirrors <leader>ww for wiki-index).

Optimizations can certainly be done.
2019-06-11 14:55:55 +02:00
Marty Oehme eb955beba1 Change wiki root to Nextcloud notes 2019-06-11 13:28:59 +02:00
Marty Oehme d3cc983eff add common vim bindings
* set up beggining/end of line with H/L
* set surround current word/visually selected word with <leader>"
* set text expansion for @@ marty.oehme@gmail.com - email
* set text expansion for ccopy - copyright notice
* set common typos autocorrection
2019-06-11 13:28:59 +02:00
Marty Oehme 54e31a85ac add uppercasing in vim 2019-06-11 13:27:00 +02:00
Marty Oehme 95d79cd39a add basic wiki and zettel structure 2019-06-11 13:27:00 +02:00
Marty Oehme eb57109565 Add abbreviations and quote surround to vimrc 2019-06-04 13:28:15 +02:00
Marty Oehme 9153315a09 Clean section breaks in vimrc 2019-06-04 13:27:01 +02:00
Marty Oehme 85100995df unify vim prose functionality under one function 2019-05-20 17:13:38 +02:00
Marty Oehme 9000b8b873 add U for redo in vim, set localeader to leader 2019-05-20 17:02:32 +02:00
Marty Oehme d0dc8ed763 add buffer splitting to vim
Uses same bind as tmux, only with leader instead of C-a in front of it.
2019-05-20 13:07:34 +02:00
Marty Oehme 244b1e98bd fix plugin check on vim startup 2019-05-15 10:28:12 +02:00
Marty Oehme ae3af530f9 update plug, add F for vim buffersearch 2019-04-12 14:43:37 +02:00
Marty Oehme 0e21be8abc add lazy loading to many plugins 2019-03-21 00:06:40 +01:00
Marty Oehme bb0c041d5e automatically toggle line numbers for buffers 2019-03-20 22:46:24 +01:00
Marty Oehme 2136b3eb97 add small fixes for prose mode & good prose theme 2019-03-20 22:25:21 +01:00
Marty Oehme bb092b628b add sentence textobject plugin 2019-03-20 19:41:22 +01:00
Marty Oehme 2f7c21ebf8 add exchange,surround operators 2019-03-20 18:46:02 +01:00
Marty Oehme 98f4ce3225 add markdown workflow plugins 2019-03-20 18:37:04 +01:00
Marty Oehme 0efb98fa30 add nerdtree git status info 2019-03-20 16:35:11 +01:00
Marty Oehme 961e6d1c6c set up nerdtree plugin 2019-03-20 16:13:18 +01:00
Marty Oehme c194d134e3 add gruvbox syntax theme 2019-03-20 16:12:46 +01:00
Marty Oehme 8d2ca59a11 add plugin comments 2019-03-20 16:12:13 +01:00
Marty Oehme 54b0f0d4ee automatically install plugins, add qol changes 2019-03-20 16:09:48 +01:00
Marty Oehme 4198c155a1 stop sourcing vimrc on every save 2019-03-20 14:30:36 +01:00
Marty Oehme e75653b4ef only load vimplug if it exists, ignore otherwise 2019-03-20 14:28:50 +01:00
Marty Oehme 003b053fe7 add sectioning to vimrc 2019-03-20 14:27:54 +01:00
Marty Oehme 992d19da56 add automatic vim plugin manager installation 2019-03-20 14:06:46 +01:00
Marty Oehme 1d756d13db add html+typescript plugins to vim 2019-03-17 19:45:29 +01:00
Marty Oehme c4eb15e5b7 integrate vim and tmux pane movement 2019-03-15 16:26:57 +01:00
Marty Oehme 2bd871a717 add nerdtree to vim and give it keybinding 2019-03-13 18:01:53 +01:00
Marty Oehme 1d594670de remove unneccessary vim colorschemes and set tmux statusline 2019-03-13 17:18:47 +01:00
Marty Oehme 8a373f6838 add vim colorschemes and airline 2019-03-13 15:08:39 +01:00
Marty Oehme 712b6b389a Add simple nvim personalizations 2019-03-09 21:33:42 +01:00
Marty Oehme 96c78612a4 Integrate sensible vim plugin 2019-03-04 11:47:17 +01:00
Marty Oehme 61f26f4708 Set up switchtes between floating/tiling to be v based. 2019-03-04 10:51:06 +01:00