all repos — dotfiles @ 132998af8625888303ba5b7997d1c64349e9b0c2

my *nix dotfiles

Add wildignores, wildmenu
NerdyPepper akshayoppiliappan@gmail.com
Mon, 01 Oct 2018 22:00:31 +0530
commit

132998af8625888303ba5b7997d1c64349e9b0c2

parent

970bd59175a3e5dddd3a8c6c7f48190525e26aba

1 files changed, 23 insertions(+), 4 deletions(-)

jump to
M config/nvim/init.vimconfig/nvim/init.vim

@@ -4,10 +4,6 @@ "| | '_ \| | __\ \ / / | '_ ` _ \

"| | | | | | |_ \ V /| | | | | | | "|_|_| |_|_|\__(_)_/ |_|_| |_| |_| -set shiftwidth=4 " indent = 4 spaces -set noexpandtab " tabs are tabs -set tabstop=4 " tab = 4 spaces -set softtabstop=4 " backspace through spaces call plug#begin() Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }

@@ -36,6 +32,13 @@ autocmd FileType less,css,html setlocal ts=2 sts=2 sw=2 expandtab

autocmd FileType text,markdown setlocal expandtab augroup END +augroup restorecursor + autocmd BufReadPost * + \ if line("'\"") > 1 && line("'\"") <= line("$") | + \ execute "normal! g`\"" | + \ endif +augroup END + " basic settings set swapfile set dir=/tmp

@@ -56,7 +59,23 @@ set nowrap

set cursorline set conceallevel=2 set mouse=a +set wildmenu +set shiftwidth=4 " indent = 4 spaces +set noexpandtab " tabs are tabs +set tabstop=4 " tab = 4 spaces +set softtabstop=4 " backspace through spaces + +set wildignore+=.git,.hg,.svn +set wildignore+=*.aux,*.out,*.toc +set wildignore+=*.o,*.obj,*.exe,*.dll,*.manifest,*.rbc,*.class +set wildignore+=*.ai,*.bmp,*.gif,*.ico,*.jpg,*.jpeg,*.png,*.psd,*.webp +set wildignore+=*.avi,*.divx,*.mp4,*.webm,*.mov,*.m2ts,*.mkv,*.vob,*.mpg,*.mpeg +set wildignore+=*.mp3,*.oga,*.ogg,*.wav,*.flac +set wildignore+=*.eot,*.otf,*.ttf,*.woff +set wildignore+=*.doc,*.pdf,*.cbr,*.cbz +set wildignore+=*.zip,*.tar.gz,*.tar.bz2,*.rar,*.tar.xz,*.kgb +set wildignore+=*.swp,.lock,.DS_Store,._* " colorscheme colorscheme agila