Skip to content

Commit

Permalink
VSCode config
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed May 7, 2018
1 parent 8031f9a commit e50c4fe
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 107 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

98 changes: 0 additions & 98 deletions .eslintrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# !/bin/sh

mkdir -p ~/.config/nvim
ln -s init.vim ~/.config/nvim/init.vim

mkdir -p ~/.config/Code/User
ln -s vscode.json ~/.config/Code/User/settings.json
19 changes: 19 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set relativenumber
set mouse=

call plug#begin()

Plug 'kien/ctrlp.vim'
Plug 'scrooloose/nerdtree'
Plug 'vim-airline/vim-airline'

call plug#end()

let mapleader = ","

nnoremap <leader>1 :NERDTreeToggle<CR>
nnoremap <leader>ev :edit ~/.config/nvim/init.vim<CR>
nnoremap <leader>sv :source ~/.config/nvim/init.vim<CR>
nnoremap <leader>pi :PlugInstall<CR>
nnoremap <C-s> :w<CR>
39 changes: 39 additions & 0 deletions vscode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"workbench.startupEditor": "newUntitledFile",
"workbench.panel.defaultLocation": "bottom",
"explorer.openEditors.visible": 0,
"editor.tabSize": 2,
"files.autoSave": "off",
"editor.showFoldingControls": "always",
"editor.dragAndDrop": false,
"workbench.editor.openPositioning": "first",
"workbench.colorTheme": "Monokai",
"window.restoreFullscreen": true,
"eslint.autoFixOnSave": false,
"eslint.alwaysShowStatus": true,
"window.zoomLevel": 0,
"diffEditor.ignoreTrimWhitespace": true,
"editor.rulers": [
80,
120
],
"explorer.confirmDragAndDrop": false,
"editor.formatOnPaste": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": true,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"dateTime.showMonth": true,
"dateTime.showDayOfWeek": true,
"dateTime.showDayOfMonth": true,
"explorer.confirmDelete": false,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": false,
"search.followSymlinks": false
}

0 comments on commit e50c4fe

Please sign in to comment.