summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorYigit Sever2019-04-08 22:56:49 +0300
committerYigit Sever2019-04-08 22:56:49 +0300
commit347be3ed53e3a170279a52cff13ec84f9a9165b1 (patch)
tree63678ff6bc4c9c3042574c7a44a6441732efda42 /.config/nvim
parentad88337536c671016a9055dd28ff735b9c897501 (diff)
parente2843e04c956db1eddc65bd9cd264b0c887230be (diff)
downloaddotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.tar.gz
dotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.tar.bz2
dotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.zip
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
Diffstat (limited to '.config/nvim')
-rwxr-xr-x.config/nvim/init.vim22
1 files changed, 2 insertions, 20 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 2bb1324..5d415ce 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -1,5 +1,4 @@
1"{{{ Plugs 1"{{{ Plugs
2
3call plug#begin('~/.local/share/nvim/plugged') 2call 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
106let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' 105let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'
107" necesary for lots of cool vim things 106
108set nocompatible
109" See below
110" https://stackoverflow.com/a/33380495
111if !exists("g:syntax_on")
112 syntax enable
113endif
114set grepprg=grep\ -nH\ $* " DONT KNOW WHAT THIS DOES
115" Tab stuff 107" Tab stuff
116set autoindent 108set autoindent
117set expandtab " Use appropriate number of spaces to insert a <Tab> 109set expandtab " Use appropriate number of spaces to insert a <Tab>
118set smarttab
119set shiftwidth=4 110set shiftwidth=4
120set softtabstop=4 111set softtabstop=4
121set tabstop=8 112set tabstop=8
@@ -123,19 +114,12 @@ set tabstop=8
123set spell spelllang=en_us 114set spell spelllang=en_us
124set nospell 115set nospell
125" Cool tab completion stuff 116" Cool tab completion stuff
126set wildmenu
127set wildmode=list:longest,full 117set wildmode=list:longest,full
128set wildignore=*.o,*.obj,*.class 118set wildignore=*.o,*.obj,*.class
129set encoding=utf-8
130set scrolloff=4 " Keep n lines above/below cursor 119set scrolloff=4 " Keep n lines above/below cursor
131set mouse=c 120set mouse=c
132set backspace=2 " make backspace work like most other programs
133set number " line numbers 121set number " line numbers
134set history=1000 " number of lines that are remembered
135set showcmd " this shows what you are typing as a command. I love this!
136set foldmethod=marker " folding stuffs 122set foldmethod=marker " folding stuffs
137set incsearch " search as you type (before <CR>)
138set hlsearch " highlight things that we find with the search
139set nohidden " when i close a tab, remove the buffer 123set nohidden " when i close a tab, remove the buffer
140set title " set terminal title 124set title " set terminal title
141set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING 125set 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
159set termguicolors 143set termguicolors
160
161set background=dark " Setting dark mode
162
163"highlight NormalNC guibg='Black' 144"highlight NormalNC guibg='Black'
164 145
165let g:nord_underline = 1 146let g:nord_underline = 1
@@ -407,5 +388,6 @@ nnoremap X D
407 388
408" {{{ vimtex 389" {{{ vimtex
409let g:vimtex_view_method = 'zathura' 390let g:vimtex_view_method = 'zathura'
391let g:vimtex_syntax_enabled = 0
410 392
411" }}} 393" }}}