mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 06:55:11 +01:00
Started making better sections
This commit is contained in:
19
.vimrc
19
.vimrc
@@ -19,7 +19,7 @@ call vundle#begin()
|
|||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
" == UI ======
|
" == Window chrome =============================================================
|
||||||
|
|
||||||
" Display tags of the current file ordered by scope
|
" Display tags of the current file ordered by scope
|
||||||
" You need ctags: `sudo apt-get install exuberant-ctags` or
|
" You need ctags: `sudo apt-get install exuberant-ctags` or
|
||||||
@@ -163,8 +163,15 @@ Plugin 'ryanoasis/vim-devicons'
|
|||||||
" Set guifont when using gvim:
|
" Set guifont when using gvim:
|
||||||
"set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 11
|
"set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 11
|
||||||
|
|
||||||
|
"
|
||||||
|
" undotree.vim : Display your undo history in a graph.
|
||||||
|
Plugin 'mbbill/undotree'
|
||||||
|
nnoremap <Leader>u :UndotreeToggle<CR>
|
||||||
|
let g:undotree_SetFocusWhenToggle=1 " if undotree is opened, it is likely one
|
||||||
|
" wants to interact with it.
|
||||||
|
|
||||||
" == Content convenience ======
|
|
||||||
|
" == Content convenience =======================================================
|
||||||
|
|
||||||
" transparent editing of gpg encrypted files. The filename must have a .gpg,
|
" transparent editing of gpg encrypted files. The filename must have a .gpg,
|
||||||
" .pgp or .asc suffix.
|
" .pgp or .asc suffix.
|
||||||
@@ -294,6 +301,8 @@ if v:version >= 704
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" == Writing prose =============================================================
|
||||||
|
|
||||||
" Distraction-free writing, start with <Leader>V (\V or ,V in this config)
|
" Distraction-free writing, start with <Leader>V (\V or ,V in this config)
|
||||||
Plugin 'junegunn/goyo.vim'
|
Plugin 'junegunn/goyo.vim'
|
||||||
let g:goyo_width = 120
|
let g:goyo_width = 120
|
||||||
@@ -318,12 +327,6 @@ let g:pencil#wrapModeDefault = 'soft' " default is 'hard'
|
|||||||
nmap <leader>V :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>
|
nmap <leader>V :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>
|
||||||
|
|
||||||
|
|
||||||
" undotree.vim : Display your undo history in a graph.
|
|
||||||
Plugin 'mbbill/undotree'
|
|
||||||
nnoremap <Leader>u :UndotreeToggle<CR>
|
|
||||||
let g:undotree_SetFocusWhenToggle=1 " if undotree is opened, it is likely one
|
|
||||||
" wants to interact with it.
|
|
||||||
|
|
||||||
" The NERD Commenter: A plugin that allows for easy commenting of code for
|
" The NERD Commenter: A plugin that allows for easy commenting of code for
|
||||||
" many filetypes.
|
" many filetypes.
|
||||||
Plugin 'scrooloose/nerdcommenter'
|
Plugin 'scrooloose/nerdcommenter'
|
||||||
|
|||||||
Reference in New Issue
Block a user