diff options
| -rwxr-xr-x | .config/nvim/init.vim | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 2bb1324..0ad3cd7 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | "{{{ Plugs | 1 | "{{{ Plugs |
| 2 | |||
| 3 | call plug#begin('~/.local/share/nvim/plugged') | 2 | call plug#begin('~/.local/share/nvim/plugged') |
| 4 | 3 | ||
| 5 | "A code-completion engine for Vim | 4 | "A code-completion engine for Vim |
| @@ -104,18 +103,10 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT | |||
| 104 | "{{{Misc Settings | 103 | "{{{Misc Settings |
| 105 | 104 | ||
| 106 | let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' | 105 | let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' |
| 107 | " necesary for lots of cool vim things | 106 | |
| 108 | set nocompatible | ||
| 109 | " See below | ||
| 110 | " https://stackoverflow.com/a/33380495 | ||
| 111 | if !exists("g:syntax_on") | ||
| 112 | syntax enable | ||
| 113 | endif | ||
| 114 | set grepprg=grep\ -nH\ $* " DONT KNOW WHAT THIS DOES | ||
| 115 | " Tab stuff | 107 | " Tab stuff |
| 116 | set autoindent | 108 | set autoindent |
| 117 | set expandtab " Use appropriate number of spaces to insert a <Tab> | 109 | set expandtab " Use appropriate number of spaces to insert a <Tab> |
| 118 | set smarttab | ||
| 119 | set shiftwidth=4 | 110 | set shiftwidth=4 |
| 120 | set softtabstop=4 | 111 | set softtabstop=4 |
| 121 | set tabstop=8 | 112 | set tabstop=8 |
| @@ -123,19 +114,12 @@ set tabstop=8 | |||
| 123 | set spell spelllang=en_us | 114 | set spell spelllang=en_us |
| 124 | set nospell | 115 | set nospell |
| 125 | " Cool tab completion stuff | 116 | " Cool tab completion stuff |
| 126 | set wildmenu | ||
| 127 | set wildmode=list:longest,full | 117 | set wildmode=list:longest,full |
| 128 | set wildignore=*.o,*.obj,*.class | 118 | set wildignore=*.o,*.obj,*.class |
| 129 | set encoding=utf-8 | ||
| 130 | set scrolloff=4 " Keep n lines above/below cursor | 119 | set scrolloff=4 " Keep n lines above/below cursor |
| 131 | set mouse=c | 120 | set mouse=c |
| 132 | set backspace=2 " make backspace work like most other programs | ||
| 133 | set number " line numbers | 121 | set number " line numbers |
| 134 | set history=1000 " number of lines that are remembered | ||
| 135 | set showcmd " this shows what you are typing as a command. I love this! | ||
| 136 | set foldmethod=marker " folding stuffs | 122 | set foldmethod=marker " folding stuffs |
| 137 | set incsearch " search as you type (before <CR>) | ||
| 138 | set hlsearch " highlight things that we find with the search | ||
| 139 | set nohidden " when i close a tab, remove the buffer | 123 | set nohidden " when i close a tab, remove the buffer |
| 140 | set title " set terminal title | 124 | set title " set terminal title |
| 141 | set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING | 125 | set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING |
| @@ -157,9 +141,6 @@ set cinoptions=l1 | |||
| 157 | "{{{Look and Feel | 141 | "{{{Look and Feel |
| 158 | 142 | ||
| 159 | set termguicolors | 143 | set termguicolors |
| 160 | |||
| 161 | set background=dark " Setting dark mode | ||
| 162 | |||
| 163 | "highlight NormalNC guibg='Black' | 144 | "highlight NormalNC guibg='Black' |
| 164 | 145 | ||
| 165 | let g:nord_underline = 1 | 146 | let g:nord_underline = 1 |
