From a2805c8ad4b8c6bd3deaeb724689801efeaeeb20 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 4 Jul 2017 21:46:58 -0400 Subject: Reorganize neovim configuration, again --- curtis/.config/nvim/init.vim | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'curtis') diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim index 36071716..e4dfb744 100644 --- a/curtis/.config/nvim/init.vim +++ b/curtis/.config/nvim/init.vim @@ -1,30 +1,27 @@ set hidden +set undofile set shortmess=atI set wildmode=list:longest set splitbelow splitright +command W w +autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm +set tabstop=8 expandtab shiftwidth=4 shiftround smartindent +autocmd FileType sh,zsh,ruby setlocal shiftwidth=2 set ignorecase smartcase inccommand=nosplit -set tabstop=4 expandtab shiftwidth=4 shiftround smartindent +nmap :nohlsearch set foldmethod=syntax foldlevel=99 -set undofile + +autocmd TermOpen * setlocal statusline=%{b:term_title} +autocmd BufEnter term://* startinsert +tmap set title set scrolloff=1 set number colorcolumn=80,100 set list listchars=tab:»·,trail:· - -nmap :nohlsearch -tmap -command! W w - colorscheme trivial -autocmd TermOpen * setlocal statusline=%{b:term_title} -autocmd BufEnter term://* startinsert -autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm -autocmd FileType sh,zsh,ruby setlocal shiftwidth=2 - -" Tarmak 1 noremap n j noremap e k noremap k n -- cgit 1.4.1