Adds a simplified emacs configuration
This commit is contained in:
parent
6537a69574
commit
94113a2dac
2 changed files with 47 additions and 74 deletions
|
|
@ -65,6 +65,12 @@ Plugin 'godlygeek/tabular'
|
|||
" Visually Highlight and comment code.
|
||||
Plugin 'tpope/vim-commentary'
|
||||
|
||||
" Macros for quotes, parens, etc.
|
||||
Plugin 'tpope/vim-surround'
|
||||
|
||||
" Allows Plugins to be repeated with `.` character
|
||||
Plugin 'tpope/vim-repeat'
|
||||
|
||||
" Seamlessly navigate Vim and Tmux with similar bindings.
|
||||
Plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
|
|
@ -108,6 +114,10 @@ highlight Comment cterm=italic
|
|||
let mapleader = " "
|
||||
|
||||
|
||||
" Auto resize window splits
|
||||
autocmd VimResized * wincmd =
|
||||
|
||||
|
||||
" Neomake Settings
|
||||
autocmd! BufWritePost * Neomake
|
||||
|
||||
|
|
@ -182,6 +192,16 @@ set foldlevel=4
|
|||
set relativenumber
|
||||
|
||||
|
||||
" emulate ci" and ci' behavior
|
||||
nnoremap ci( f)ci(
|
||||
nnoremap ci[ f]ci[
|
||||
|
||||
|
||||
" extend functionality of <C-e> & <C-y> scrolling
|
||||
nnoremap <C-e> <C-e>j
|
||||
nnoremap <C-y> <C-y>k
|
||||
|
||||
|
||||
" Opens all folds within the buffer
|
||||
nnoremap ZZ zR
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue