fold markers

This commit is contained in:
ManjaroOne666 2018-03-15 15:26:21 +00:00
parent 949ce26af2
commit aa52e4ba82
1 changed files with 17 additions and 26 deletions

43
vimrc
View File

@ -1,8 +1,7 @@
filetype off " required
set ttyfast
" #plugins
" #plugins{{{
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@ -81,11 +80,9 @@ Plugin 'ludovicchabant/vim-gutentags'
call vundle#end() " required
filetype plugin indent on " required
"}}}
" #settings
" #settings{{{
" set t_Sf=<Esc>[3%p1%dm " foreground colour
if &term == 'xterm-256color'
set termguicolors
@ -148,8 +145,9 @@ set listchars=eol:¬,tab:->,trail:~,extends:>,precedes:<,space:·
set textwidth=180
set formatoptions=cq
set wrapmargin=0
"}}}
" key #mappings
" key #mappings{{{
let g:mapleader = "\<space>"
nnoremap <leader>rc :so $MYVIMRC<CR>
@ -243,18 +241,15 @@ nnoremap <leader>hl :nohlsearch<CR>
" devdocs mapping
nnoremap <leader>dd :DD<CR>
"}}}
" #abbreviations
" #abbreviations{{{
iabbrev adn and
iabbrev waht what
iabbrev tehn then
"}}}
" #statusline format
" #statusline format{{{
" isactive = 0 when inactive, 1 otherwise
function! GetStatus(isactive)
let l:separator='%#StatusLineSeparator#'
@ -328,9 +323,9 @@ augroup status
autocmd WinLeave * setlocal statusline=%!GetStatus(0)
autocmd InsertChange * setlocal statusline=%!GetStatus(1)
augroup END
"}}}
" #autocommands
" #autocommands{{{
" persistent folds
augroup AutoSaveFolds
@ -373,11 +368,9 @@ augroup myvimrc
au!
au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
augroup END
"}}}
" #functions
" #functions{{{
function! CheckLineEnding()
:normal $
@ -427,11 +420,9 @@ if !exists('*RangerExplorer')
map <Leader>ra :call RangerExplorer()<CR>
endif
"}}}
" #plugin settings
" #plugin settings{{{
" vim-peekaboo
let g:peekaboo_window = 'vert to 30new'
@ -570,6 +561,6 @@ let g:tagbar_type_vue = {
let g:gutentags_ctags_tagfile = '.tags'
let g:gutentags_ctags_exclude = ['package.json', 'Session.vim' ,'package-lock.json', 'TODO.txt']
"}}}
" ze end
" vim: foldmethod=marker