49 lines
1.8 KiB
VimL
49 lines
1.8 KiB
VimL
"
|
|
" _________ _______ _________ _______ _______ _______ _______ _
|
|
" |\ /|\__ __/( ) \__ __/( ____ \ ( ____ \( ___ )( ___ )( \
|
|
" | ) ( | ) ( | () () | ) ( | ( \/ | ( \/| ( ) || ( ) || (
|
|
" | | | | | | | || || | | | | (_____ | | | | | || | | || |
|
|
" ( ( ) ) | | | |(_)| | | | (_____ ) | | | | | || | | || |
|
|
" \ \_/ / | | | | | | | | ) | | | | | | || | | || |
|
|
" \ / ___) (___| ) ( | ___) (___/\____) | | (____/\| (___) || (___) || (____/\
|
|
" \_/ \_______/|/ \| \_______/\_______) (_______/(_______)(_______)(_______/
|
|
"
|
|
"
|
|
|
|
set incsearch " find as you type search
|
|
set hls
|
|
set backspace=indent,eol,start
|
|
set clipboard=unnamed
|
|
set nu
|
|
set rnu
|
|
set cursorline
|
|
|
|
let mapleader = ","
|
|
nnoremap ; :
|
|
|
|
nmap <leader><leader>w :vsc Tools.InvokePeasyMotion<CR>
|
|
|
|
" Examples of PeasyMotion config
|
|
" " gS prefix is added for ViEmu, no use for VsVim AFAIK.
|
|
" "VsVim and ViEmu are disabled until PeasyMotion finishes
|
|
"
|
|
" "Whole viewport jump-to-word beginning mode:
|
|
" nnoremap <Space> gS:vsc Tools.InvokePeasyMotion<CR>
|
|
"
|
|
" "Select text from current caret position to desired jump label (fwd and reverse directions supported)
|
|
" nmap ;; gS:vsc Tools.InvokePeasyMotionTextSelect<CR>
|
|
"
|
|
" "Jump to word beginning in current line
|
|
" nmap zw gS:vsc Tools.InvokePeasyMotionLineJumpToWordBegining<CR>
|
|
" "Jump to word ending in current line
|
|
" nmap ze gS:vsc Tools.InvokePeasyMotionLineJumpToWordEnding<CR>
|
|
"
|
|
" "Jump to any open document tab
|
|
" nmap ;w gS:vsc Tools.InvokePeasyMotionJumpToDocumentTab<CR>
|
|
"
|
|
" "Jump to line beginning:
|
|
" nmap ;l gS:vsc Tools.InvokePeasyMotionJumpToLineBegining<CR>
|
|
"
|
|
" "Two char search mode:
|
|
" nmap ;c gS:vsc Tools.InvokePeasyMotionTwoCharJump<CR>
|