From f97a04ef7e595d66e695d8cd757b8caaf6d9c0fd Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 8 Apr 2019 10:54:39 +0300 Subject: Remove options set by nvim by default --- .config/nvim/init.vim | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to '.config/nvim') 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 @@ "{{{ Plugs - call plug#begin('~/.local/share/nvim/plugged') "A code-completion engine for Vim @@ -104,18 +103,10 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT "{{{Misc Settings let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' -" necesary for lots of cool vim things -set nocompatible -" See below -" https://stackoverflow.com/a/33380495 -if !exists("g:syntax_on") - syntax enable -endif -set grepprg=grep\ -nH\ $* " DONT KNOW WHAT THIS DOES + " Tab stuff set autoindent set expandtab " Use appropriate number of spaces to insert a -set smarttab set shiftwidth=4 set softtabstop=4 set tabstop=8 @@ -123,19 +114,12 @@ set tabstop=8 set spell spelllang=en_us set nospell " Cool tab completion stuff -set wildmenu set wildmode=list:longest,full set wildignore=*.o,*.obj,*.class -set encoding=utf-8 set scrolloff=4 " Keep n lines above/below cursor set mouse=c -set backspace=2 " make backspace work like most other programs set number " line numbers -set history=1000 " number of lines that are remembered -set showcmd " this shows what you are typing as a command. I love this! set foldmethod=marker " folding stuffs -set incsearch " search as you type (before ) -set hlsearch " highlight things that we find with the search set nohidden " when i close a tab, remove the buffer set title " set terminal title set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING @@ -157,9 +141,6 @@ set cinoptions=l1 "{{{Look and Feel set termguicolors - -set background=dark " Setting dark mode - "highlight NormalNC guibg='Black' let g:nord_underline = 1 -- cgit v1.2.3-70-g09d2 From 13a027f4e95f90c5cdc47ba8f76c1e683dee04be Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 8 Apr 2019 11:17:06 +0300 Subject: Temporary fix for vimwiki - vimtex --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0ad3cd7..5d415ce 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -388,5 +388,6 @@ nnoremap X D " {{{ vimtex let g:vimtex_view_method = 'zathura' +let g:vimtex_syntax_enabled = 0 " }}} -- cgit v1.2.3-70-g09d2