summaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rwxr-xr-x.config/nvim/init.vim22
1 files changed, 21 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 3e89aaa..b6a8acf 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -82,7 +82,8 @@ Plug 'junegunn/goyo.vim'
82Plug 'junegunn/limelight.vim' 82Plug 'junegunn/limelight.vim'
83" thesaurus query & replacement 83" thesaurus query & replacement
84Plug 'ron89/thesaurus_query.vim' 84Plug 'ron89/thesaurus_query.vim'
85 85" change ASCII text to Turkish text
86Plug 'yigitsever/turkish-deasciifier.vim'
86" }}} prose, note taking " 87" }}} prose, note taking "
87 88
88" movement, editing {{{ " 89" movement, editing {{{ "
@@ -325,6 +326,25 @@ let g:highlightedyank_highlight_duration = 200
325 326
326"{{{ Mappings 327"{{{ Mappings
327 328
329" brute force deasciify everything
330nnoremap <expr> <Leader>tc TurkishDeasciifyForce()
331xnoremap <expr> <Leader>tc TurkishDeasciifyForce()
332nnoremap <expr> <Leader>tctc TurkishDeasciifyForce() .. '_'
333
334" use turkish-mode to selectively deasciify
335nnoremap <expr> <Leader>tr TurkishDeasciify()
336xnoremap <expr> <Leader>tr TurkishDeasciify()
337nnoremap <expr> <Leader>trtr TurkishDeasciify() .. '_'
338
339" ascii everything
340nnoremap <expr> <Leader>rt TurkishAsciify()
341xnoremap <expr> <Leader>rt TurkishAsciify()
342nnoremap <expr> <Leader>rtrt TurkishAsciify() .. '_'
343
344" https://stackoverflow.com/questions/4256697/vim-search-and-highlight-but-do-not-jump
345nnoremap * :keepjumps normal! mi*`i<CR>
346nnoremap # :keepjumps normal! mi#`i<CR>
347
328" Save file as sudo on files that require root permission 348" Save file as sudo on files that require root permission
329cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit! 349cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
330 350