summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc24
1 files changed, 12 insertions, 12 deletions
diff --git a/.vimrc b/.vimrc
index a4fae72..8f3b5f1 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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
-"
+
+