summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-04-08 10:54:39 +0300
committerYigit Sever2019-04-08 10:54:39 +0300
commitf97a04ef7e595d66e695d8cd757b8caaf6d9c0fd (patch)
treeb5be021c87def72f418dfabae5e09b8919b0b7c1
parent6e052828d222987085133c0e584440f16c384fbd (diff)
downloaddotfiles-f97a04ef7e595d66e695d8cd757b8caaf6d9c0fd.tar.gz
dotfiles-f97a04ef7e595d66e695d8cd757b8caaf6d9c0fd.tar.bz2
dotfiles-f97a04ef7e595d66e695d8cd757b8caaf6d9c0fd.zip
Remove options set by nvim by default
-rwxr-xr-x.config/nvim/init.vim21
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
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