diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-22 22:38:20 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-22 22:38:20 -0500 |
commit | b5f9119f640afe8090f2c699671118192600b527 (patch) | |
tree | 962b695801ba80490314ee4130a3e40c0ad18eb8 /.vimrc | |
parent | 57d0188139ee3d71dd816c0fa2d88a91cec55af5 (diff) |
latest changes
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -30,14 +30,11 @@ Bundle 'junegunn/fzf' Bundle 'junegunn/fzf.vim' Bundle 'chengzeyi/fzf-preview.vim' Bundle 'alok/notational-fzf-vim' -Bundle 'junegunn/limelight.vim' +Bundle 'junegunn/goyo.vim' call vundle#end() filetype plugin indent on "}}} " -xnoremap "+y y:call system("wl-copy", @")<cr> -nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p -nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p " Basic stuff {{{ set encoding=utf-8 set scrolloff=3 @@ -351,7 +348,7 @@ nnoremap zO zczO " This mapping wipes out the z mark, which I never use. " " I use :sus for the rare times I want to actually background Vim. -nnoremap <c-z> mzzMzvzz15<c-e>`z:Pulse<cr> +nnoremap <c-z> mzzMzvzz8<c-e>`z:Pulse<cr> function! MyFoldText() " {{{ let line = getline(v:foldstart) @@ -430,13 +427,15 @@ let g:limelight_conceal_ctermfg = 240 let g:limelight_conceal_guifg = 'DarkGray' let g:limelight_conceal_guifg = '#777777' " -" " Default: 0.5 -let g:limelight_default_coefficient = 0.5 +let g:goyo_width = 105 +let g:goyo_height = '99%' +let g:goyo_linenr=1 nnoremap <silent> <c-s> :NV<CR> let g:markdown_fold_style = 'nested' nmap <leader>i :%s/
//g +nmap <leader># :%s/### /###/g nmap <Leader>o :Utl openLink underCursor edit<CR> imap jj <Esc> @@ -444,10 +443,11 @@ vmap <silent> <leader>r <esc>:'<,'>:w !espeak &> /dev/null <CR> "wayland hack: "xnoremap "+y :!wl-copy <C-r>"<cr><cr> -xnoremap "+y y:call system("wl-copy", @")<cr> -nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p +"xnoremap "+y y:call system("wl-copy", @")<cr> +"nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p -"xnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv -"vnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv +xnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv +vnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv "set tags+=tags;$HOME -" + + |