diff options
-rwxr-xr-x | .config/nvim/init.vim | 46 |
1 files changed, 35 insertions, 11 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 7baf9bc..02c459f 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -4,34 +4,40 @@ call plug#begin('~/.local/share/nvim/plugged') | |||
4 | " latex " had to move vimtex to top to avoid a difficult error | 4 | " latex " had to move vimtex to top to avoid a difficult error |
5 | Plug 'lervag/vimtex' | 5 | Plug 'lervag/vimtex' |
6 | 6 | ||
7 | " completion | 7 | " completion, 'lsp' and coding {{{ " |
8 | |||
9 | " completion framework | ||
8 | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | 10 | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } |
9 | Plug 'lionawurscht/deoplete-biblatex' | 11 | Plug 'lionawurscht/deoplete-biblatex' |
10 | Plug 'deoplete-plugins/deoplete-jedi' | 12 | Plug 'deoplete-plugins/deoplete-jedi' |
13 | " rust code completion & navigation | ||
11 | Plug 'racer-rust/vim-racer' | 14 | Plug 'racer-rust/vim-racer' |
12 | |||
13 | " ledger | ||
14 | Plug 'ledger/vim-ledger' | ||
15 | " language packs | ||
16 | Plug 'sheerun/vim-polyglot' | ||
17 | " syntax checking | 15 | " syntax checking |
18 | Plug 'dense-analysis/ale' | 16 | Plug 'dense-analysis/ale' |
19 | " manages tag files | 17 | " manages tag files |
20 | Plug 'ludovicchabant/vim-gutentags' | 18 | Plug 'ludovicchabant/vim-gutentags' |
19 | " language packs | ||
20 | Plug 'sheerun/vim-polyglot' | ||
21 | " run tests (todo: write tests) | 21 | " run tests (todo: write tests) |
22 | Plug 'janko/vim-test' | 22 | Plug 'janko/vim-test' |
23 | " type in file send to repl | 23 | " type in file send to repl |
24 | Plug 'jpalardy/vim-slime' | 24 | Plug 'jpalardy/vim-slime' |
25 | 25 | ||
26 | " }}} completion, 'lsp' and such " | ||
27 | |||
28 | " ledger | ||
29 | Plug 'ledger/vim-ledger' | ||
30 | |||
26 | " snippets to expand | 31 | " snippets to expand |
27 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' | 32 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' |
28 | " autopair plugin | 33 | " autopair plugin |
29 | Plug 'tmsvg/pear-tree' | 34 | Plug 'tmsvg/pear-tree' |
30 | 35 | ||
36 | " heresy {{{ " | ||
37 | |||
31 | " Fuzzy finder with post-update hook | 38 | " Fuzzy finder with post-update hook |
32 | Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | 39 | Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
33 | Plug 'junegunn/fzf.vim' | 40 | Plug 'junegunn/fzf.vim' |
34 | |||
35 | " tree explorer, i don't use this as much but don't like netrw either | 41 | " tree explorer, i don't use this as much but don't like netrw either |
36 | Plug 'scrooloose/nerdtree' | 42 | Plug 'scrooloose/nerdtree' |
37 | " displays tags ordered by scope | 43 | " displays tags ordered by scope |
@@ -40,9 +46,13 @@ Plug 'majutsushi/tagbar' | |||
40 | Plug 'vim-airline/vim-airline' | 46 | Plug 'vim-airline/vim-airline' |
41 | Plug 'vim-airline/vim-airline-themes' | 47 | Plug 'vim-airline/vim-airline-themes' |
42 | 48 | ||
43 | " color theme of $CURRENT_YEAR | 49 | " }}} heresy " |
50 | |||
51 | " colour theme of $CURRENT_YEAR | ||
44 | Plug 'bluz71/vim-moonfly-colors' | 52 | Plug 'bluz71/vim-moonfly-colors' |
45 | 53 | ||
54 | " prose, note taking {{{ " | ||
55 | |||
46 | " Personal wiki | 56 | " Personal wiki |
47 | Plug 'vimwiki/vimwiki' | 57 | Plug 'vimwiki/vimwiki' |
48 | " centers the writing | 58 | " centers the writing |
@@ -50,6 +60,10 @@ Plug 'junegunn/goyo.vim' | |||
50 | " highlights the current paragraph | 60 | " highlights the current paragraph |
51 | Plug 'junegunn/limelight.vim' | 61 | Plug 'junegunn/limelight.vim' |
52 | 62 | ||
63 | " }}} prose, note taking " | ||
64 | |||
65 | " movement, editing {{{ " | ||
66 | |||
53 | " text alignment \w :Tab | 67 | " text alignment \w :Tab |
54 | Plug 'godlygeek/tabular' | 68 | Plug 'godlygeek/tabular' |
55 | " move selections up and down with alt+[j,k] | 69 | " move selections up and down with alt+[j,k] |
@@ -68,15 +82,19 @@ Plug 'junegunn/vim-peekaboo' | |||
68 | Plug 'lfv89/vim-interestingwords' | 82 | Plug 'lfv89/vim-interestingwords' |
69 | " swap delimited items using g>, g< | 83 | " swap delimited items using g>, g< |
70 | Plug 'machakann/vim-swap' | 84 | Plug 'machakann/vim-swap' |
85 | " jump to location by 2 characters, ` | ||
86 | Plug 'justinmk/vim-sneak' | ||
87 | |||
88 | " }}} movement, editing " | ||
71 | 89 | ||
72 | " reopen files at your last edit position | 90 | " reopen files at your last edit position |
73 | Plug 'farmergreg/vim-lastplace' | 91 | Plug 'farmergreg/vim-lastplace' |
74 | " git diff in the sign column | 92 | " git diff in the sign column |
75 | Plug 'airblade/vim-gitgutter' | 93 | Plug 'airblade/vim-gitgutter' |
76 | " Conflict merger | 94 | " Conflict merger, learn how to use this |
77 | Plug 'christoomey/vim-conflicted' | 95 | Plug 'christoomey/vim-conflicted' |
78 | " jump to location by 2 characters, ` | 96 | |
79 | Plug 'justinmk/vim-sneak' | 97 | " vim-easyclip suite {{{ " |
80 | 98 | ||
81 | " splits delete into cut and delete | 99 | " splits delete into cut and delete |
82 | Plug 'svermeulen/vim-cutlass' | 100 | Plug 'svermeulen/vim-cutlass' |
@@ -85,6 +103,10 @@ Plug 'svermeulen/vim-subversive' | |||
85 | " yank history | 103 | " yank history |
86 | Plug 'svermeulen/vim-yoink' | 104 | Plug 'svermeulen/vim-yoink' |
87 | 105 | ||
106 | " }}} vim-easyclip suite " | ||
107 | |||
108 | " tpope {{{ " | ||
109 | |||
88 | " enable repeating supported plugin maps with '.' | 110 | " enable repeating supported plugin maps with '.' |
89 | Plug 'tpope/vim-repeat' | 111 | Plug 'tpope/vim-repeat' |
90 | " pairs of handy bracket mappings | 112 | " pairs of handy bracket mappings |
@@ -102,6 +124,8 @@ Plug 'tpope/vim-commentary' | |||
102 | " asynchronous build and test dispatcher | 124 | " asynchronous build and test dispatcher |
103 | Plug 'tpope/vim-dispatch' | 125 | Plug 'tpope/vim-dispatch' |
104 | 126 | ||
127 | " }}} tpope " | ||
128 | |||
105 | " fancy start screen | 129 | " fancy start screen |
106 | Plug 'mhinz/vim-startify' | 130 | Plug 'mhinz/vim-startify' |
107 | Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure | 131 | Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure |