Files
dotfiles/.vimrc
T

43 lines
791 B
VimL

" ntnsndr's vimrc file
" Basics
syntax on
set noerrorbells
set spell
" Line wrapping in Markdown files
autocmd FileType markdown setlocal linebreak
autocmd FileType markdown noremap j gj
autocmd FileType markdown noremap k gk
" Tabs
set tabstop=4
set shiftwidth=4
set expandtab
"Search
set ic
set smartcase
set incsearch
" Workspace location
let g:workspace_session_directory = $HOME . '/.vim/sessions/'
" Set shell to bash
set shell=bash\ -l
" Shortcuts
command! Proximate :e ~/Cloud/Notes/Proximate.md
command! WC :w !wc
" Create panda command for pandout
command! -nargs=1 Panda :!~/.scripts/panda.sh % <args>
" Plugins
call plug#begin()
Plug 'junegunn/goyo.vim'
"Plug 'plasticboy/vim-markdown'
"Plug 'vim-pandoc/vim-pandoc'
"Plug 'vim-pandoc/vim-pandoc-syntax'
call plug#end()