Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Install packer | |
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' | |
local is_bootstrap = false | |
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then | |
is_bootstrap = true | |
vim.fn.system { 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path } | |
vim.cmd [[packadd packer.nvim]] | |
end | |
require('packer').startup(function(use) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Require .prettierrc | |
"prettier.requireConfig": true, | |
// Show diagnostics for current line | |
"diagnostic.checkCurrentLine": true, | |
// Tslint on save | |
"tslint.enable": true, | |
"tslint.autoFixOnSave": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" https://github.com/neoclide/coc.nvim#example-vim-configuration | |
inoremap <silent><expr> <c-space> coc#refresh() | |
" gd - go to definition of word under cursor | |
nmap <silent> gd <Plug>(coc-definition) | |
nmap <silent> gy <Plug>(coc-type-definition) | |
" gi - go to implementation | |
nmap <silent> gi <Plug>(coc-implementation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
" colorscheme onedark | |
set shortmess=I | |
set backspace=start,eol,indent | |
" set colorcolumn=80 | |
" set cursorline | |
set expandtab | |
set foldlevel=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bind": { | |
"prefix": "bind", | |
"body": [ | |
"{{$1}}" | |
], | |
"description": "" | |
}, | |
"message": { | |
"prefix": "message", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "cmd+y", | |
"command": "redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "editor.action.moveLinesDownAction", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"window.zoomLevel": 2, | |
"editor.renderWhitespace": "boundary", | |
"files.exclude": { | |
"dist": true, | |
"fixtures": true, | |
"node_modules": true, | |
"static/timeline*": true | |
}, |
ssh
ssh-keygen
cat ~/.ssh/id_rsa.pub
git
NewerOlder