Skip to content

Instantly share code, notes, and snippets.

@ollien
Created June 8, 2024 15:10
Show Gist options
  • Save ollien/1485c42bc9a80b73cb3e340a3eeb9865 to your computer and use it in GitHub Desktop.
Save ollien/1485c42bc9a80b73cb3e340a3eeb9865 to your computer and use it in GitHub Desktop.
set guicursor=n-v-c-sm:block,i-ci-ve-r-cr-o:ver25
set clipboard=unnamedplus
set nrformats+=alpha
set nrformats+=hex
let mapleader=","
if exists('g:vscode')
syntax off
call plug#begin(stdpath('data'))
Plug 'tpope/vim-surround'
Plug 'easymotion/vim-easymotion'
Plug 'machakann/vim-sandwich'
call plug#end()
nnoremap <space> <Cmd>call VSCodeNotify('editor.action.showHover')<CR>;
"nnoremap <Space> <Cmd>call VSCodeNotify('editor.action.showHover')<CR>;
nnoremap <leader>cc <Cmd>call VSCodeNotify('editor.action.commentLine')<CR>;
let g:clipboard = g:vscode_clipboard
else
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment