```vim function! VisualSearch(direction) let l:register=@@ normal! gvy let l:search=escape(@@, '$.*/\[]') if a:direction=='/' execute 'normal! /'.l:search else execute 'normal! ?'.l:search endif let @/=l:search normal! gV let @@=l:register endfunction set lazyredraw set visualbell set noerrorbells let mapleader=" " let @a = "text" noremap 7 noremap e 7 noremap 7 noremap y 7 noremap f noremap b noremap sa call VSCodeNotify('editor.action.selectAll') noremap go call VSCodeNotify('workbench.action.gotoLine') noremap m M noremap 4 $ noremap tt :action ParameterInfo noremap te :action ShowErrorDescription noremap js o```js```O noremap fs o```fs```O noremap vv V noremap y y noremap Y Y vnoremap d j vnoremap d d noremap 1 "zy noremap 2 "zY noremap 3 "zp noremap 3 "zP noremap 4 "zd noremap ' i````hi inoremap ' ````hi nnoremap [ ?let :noh nnoremap ] /let :noh noremap rr :action Rerun noremap ru :action Run noremap rs :action Stop noremap rc :action RunConfiguration noremap cn :action CloseAllNotifications noremap co :action CloseAllEditorsButActive noremap ra call VSCodeNotify('notebook.execute') noremap re :redo noremap ne call VSCodeNotify('editor.action.marker.next') noremap pe call VSCodeNotify('editor.action.marker.prev') noremap nc call VSCodeNotify('notebook.focusNextEditor') noremap pc call VSCodeNotify('notebook.focusPreviousEditor') noremap no :action NextOccurence noremap po :action PreviousOccurence noremap Q / noremap Q ? noremap / j noremap ? j if env ==? "sh" nnoremap gt nnoremap gT nnoremap :noh nnoremap w /[A-Z]h:noh nnoremap W /[A-Z]:noh vnoremap w /[A-Z]h vnoremap W /[A-Z] vnoremap * :call VisualSearch('/')/ vnoremap # :call VisualSearch('?')? elseif env ==? "idea" noremap w ]w noremap W [w set ignorecase endif set ignorecase nnoremap w /\C[A-Z_]h:noh nnoremap W /\C[A-Z_]:noh vnoremap w /\C[A-Z_]h vnoremap W /\C[A-Z_] nnoremap nnoremap nnoremap nnoremap nnoremap nnoremap nnoremap ; nnoremap nnoremap nnoremap < nnoremap > nnoremap - nnoremap = nnoremap ! nnoremap nnoremap nnoremap nnoremap nnoremap ,d nnoremap nnoremap j nnoremap J "" nnoremap "" noremap / i/ "" inoremap / / "" noremap y j "" noremap Y j "" noremap gl Olet getLocals () = $"0={0} {getLocals ()}"0jw "" noremap nm ggcenamespaceEviw"mxxoomodule "mpa =o()>> ```