diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 60 |
1 files changed, 60 insertions, 0 deletions
@@ -0,0 +1,60 @@ +set termguicolors +set relativenumber +set number +set splitright +set splitbelow +set ignorecase +set cursorline +set signcolumn=no +set background=dark +set cc=80 +set tabstop=4 +set shiftwidth=4 +set expandtab +set autoindent +set smartindent +set wrap +set undofile +set nobackup +set nowritebackup +set noswapfile +set laststatus=2 +set notimeout +set hlsearch +set cinoptions+=:0,N-s,E-s,(s,m1,t0 +set completeopt=menu,menuone,noselect +set autoread + +filetype plugin on +filetype indent on +syntax on + +let mapleader = " " +let netrw_banner = 0 +let fuzzbox_mappings = 0 +let g:apc_enable_ft = {'c':1} +let g:netrw_list_hide = '\~$' + +xmap ga <Plug>(EasyAlign) +nmap ga <Plug>(EasyAlign) +nmap <leader>f :FuzzyFilesRoot<cr> +nmap <leader>t :! ctags -R .<cr><cr> + +nnoremap <C-l> :noh<cr> +nnoremap <C-u> <C-u>zz +nnoremap <C-d> <C-d>zz +nnoremap gd <C-]> +nnoremap gD <C-]>f(b[<C-i> + +au FileType lua set tabstop=2 +au FileType lua set shiftwidth=2 + +colors mooncheese +hi clear Error + +call plug#begin() + +Plug 'vim-fuzzbox/fuzzbox.vim' +Plug 'tpope/vim-fugitive' + +call plug#end() |
