Skip to content

Instantly share code, notes, and snippets.

@stefan991
Created March 29, 2014 14:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefan991/9855755 to your computer and use it in GitHub Desktop.
Save stefan991/9855755 to your computer and use it in GitHub Desktop.
" should become a no op soon
set nocompatible
" dont get warnings about unsaved buffers on buffer switching
set hidden
set runtimepath^=~/.nvim/bundle/taglist
" allways display the statusline
set laststatus=2
let Tlist_Process_File_Always = 1
set statusline=[%l,%c\ %p%%]\ %f\ %m%r%h%w%=%{Tlist_Get_Tagname_By_Line()}\
" enable syntax highlighting
syntax on
filetype plugin indent on
" indention settings
set ts=2 sts=2 sw=2 expandtab
let mapleader=" "
set runtimepath^=~/.nvim/bundle/ctrlp.vim
let g:ctrlp_map = '<Leader>o'
let g:ctrlp_cmd = 'CtrlP'
set wildmenu
set wildmode=list:longest
set scrolloff=5
set autoindent
set smartindent
inoremap # X#
set hlsearch
set incsearch
set ignorecase
set smartcase
nnoremap <leader><space> :noh<cr>
" set runtimepath^=~/.nvim/bundle/moonscript
au BufRead,BufNewFile *.moon setfiletype moon
nnoremap <leader>w <C-W>
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
highlight ExtraWhitespace ctermbg=red guibg=red
autocmd BufWinEnter * match ExtraWhitespace /\s\+\%#\@<!$/
set runtimepath^=~/.nvim/bundle/solarized
set bg=dark
colorscheme solarized
"et runtimepath^=~/.nvim/bundle/fugitive
stefan at air in ~/.nvim
% ls plugin
ack.vim
stefan at air in ~/.nvim
% ls bundle
ctrlp.vim fugitive moonscript solarized taglist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment