From d49fd7f88e2587683827640b05f4b37801c6dac9 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 10 Jun 2017 16:49:51 -0400 Subject: Move actual dotfiles into curtis directory --- curtis/.config/nvim/init.vim | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 curtis/.config/nvim/init.vim (limited to 'curtis/.config/nvim/init.vim') diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim new file mode 100644 index 00000000..0e2683a3 --- /dev/null +++ b/curtis/.config/nvim/init.vim @@ -0,0 +1,35 @@ +set hidden +set shortmess=atI +set wildmode=list:longest +set splitbelow splitright + +set ignorecase smartcase inccommand=nosplit +set tabstop=4 expandtab shiftwidth=4 shiftround smartindent +set undofile + +set title +set scrolloff=1 +set number colorcolumn=80,100 +set list listchars=tab:»·,trail:· + +nmap :nohlsearch +command! W w + +colorscheme trivial + +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 +noremap j e +noremap N J +noremap E K +noremap K N +noremap J E +nmap n j +nmap e k + +execute pathogen#infect() -- cgit 1.4.1