Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yoshihisa Mochihara
committed
Feb 22, 2017
1 parent
def8484
commit cf759e7
Showing
5 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Place your key bindings in this file to overwrite the defaults | ||
[ | ||
{ "key": "ctrl+l", "command": "workbench.action.showCommands" }, | ||
{ "key": "ctrl+x k", "command": "workbench.action.closeActiveEditor" }, | ||
{ "key": "ctrl+x ctrl+c", "command": "workbench.action.quit" }, | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Place your settings in this file to overwrite the default settings | ||
{ | ||
"workbench.welcome.enabled": false, | ||
"files.autoSave": "onFocusChange", | ||
"editor.renderIndentGuides": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
- name: create a working directory | ||
file: path=~/temp/ state=directory mode=0755 | ||
|
||
- name: register a working directory full path | ||
command: find ~/temp -maxdepth 0 | ||
register: workdir_result | ||
|
||
- name: download visual-studio-code | ||
get_url: url=https://vscode-update.azurewebsites.net/1.9.1/linux-deb-x64/stable dest={{ workdir_result.stdout }}/vscode.deb | ||
|
||
- name: dpkg vscode.deb | ||
apt: deb={{ workdir_result.stdout }}/vscode.deb | ||
become: yes | ||
|
||
- name: install packages | ||
command: code --install-extension "{{ item }}" | ||
with_items: "{{packages}}" | ||
|
||
- name: copy keybind file | ||
copy: src=keybindings.json dest="{{ dot_vscode }}" | ||
|
||
- name: copy setting file | ||
copy: src=settings.json dest="{{ dot_vscode }}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dot_vscode: ~/.config/Code/User | ||
|
||
packages: | ||
- donjayamanne.python | ||
- lukehoban.Go | ||
- hiro-sun.vscode-emacs | ||
- PeterJausovec.vscode-docker |