Skip to content

Commit f72529b

Browse files
committed
Update
1 parent 3c28144 commit f72529b

File tree

10 files changed

+78
-18
lines changed

10 files changed

+78
-18
lines changed

fish/functions/c.fish

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
function c --description "Open in VSCode" --wraps "open" --argument-names target
2+
if test -z "$target"
3+
set target "."
4+
end
5+
open $target -a "Visual Studio Code"
6+
end

fish/functions/fssh.fish

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function fssh --description 'Forter SSH shortcut' --argument-names target_ip --wraps ssh
2+
command ssh -F ~/.ssh/gozer-new "gilad.peleg@$target_ip"
3+
end

git/.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# * text=auto
22
# Disabled because of https://github.com/mathiasbynens/dotfiles/issues/149 :(
3+
4+
# Treat package-lock.json as binary to avoid it appearing in git diffs (annoying)
5+
package-lock.json -diff

git/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ mise.toml
4747

4848
# redis stuff
4949
dump.rdb
50+
.ignore

install.conf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292

9393
# Tmux config files
9494
~/.config/tmux/tmux.conf: tmux/.tmux.conf
95-
~/.config/tmux/tmux-right-prompt.sh: tmux/tmux-right-prompt.sh
9695

9796
# GPG files
9897
~/.gnupg/gpg.conf: gpg/gpg.conf

tmux/.tmux.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ set-option -g window-status-activity-style bold
9393
set-option -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour245,bg=colour238,bold] #(whoami)'
9494
set-option -g window-status-format "#[fg=white,bg=colour234] #I: #W "
9595
set-option -g window-status-current-format "#[fg=colour25,bg=colour39,noreverse,bold] #I: #W "
96-
set-option -g status-right "#(~/.config/tmux/tmux-right-prompt.sh)"
9796

9897
##################
9998
# key bindings #

tmux/tmux-right-prompt.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

vim/dein.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,8 @@ repo = 'plytophogy/vim-virtualenv'
101101
repo = 'PieterjanMontens/vim-pipenv'
102102

103103
[[plugins]]
104-
# repo = 'bling/vim-airline'
105104
repo = 'itchyny/lightline.vim'
106105

107-
# [[plugins]]
108-
# repo = 'SirVer/ultisnips'
109-
110106
[[plugins]]
111107
repo = 'honza/vim-snippets'
112108

vscode/keybindings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
// Place your key bindings in this file to override the defaults
22
[
3-
]
3+
{
4+
"key": "cmd+backspace",
5+
"command": "editor.action.deleteLines",
6+
"when": "textInputFocus && !editorReadonly"
7+
},
8+
{
9+
"key": "shift+cmd+k",
10+
"command": "-editor.action.deleteLines",
11+
"when": "textInputFocus && !editorReadonly"
12+
}
13+
]

vscode/settings.json

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
{
2+
"[astro]": {
3+
"editor.defaultFormatter": "astro-build.astro-vscode"
4+
},
5+
"[javascript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[jsonc]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[markdown]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
},
14+
"[ruby]": {
15+
"editor.defaultFormatter": "Shopify.ruby-lsp"
16+
},
17+
"[typescript]": {
18+
"editor.defaultFormatter": "esbenp.prettier-vscode"
19+
},
20+
"[yaml]": {
21+
"editor.defaultFormatter": "esbenp.prettier-vscode"
22+
},
223
"calva.paredit.defaultKeyMap": "strict",
324
"calva.prettyPrintingOptions": {
425
"enabled": false,
@@ -7,18 +28,47 @@
728
"width": 120
829
},
930
"editor.fontSize": 13,
31+
"editor.tabSize": 2,
1032
"explorer.confirmDelete": false,
33+
"explorer.confirmDragAndDrop": false,
34+
"files.autoSave": "afterDelay",
35+
"files.autoSaveDelay": 500,
36+
"files.watcherExclude": {
37+
"**/.git/objects/**": true,
38+
"**/.git/subtree-cache/**": true,
39+
"**/.hg/store/**": true,
40+
"**/.venv/**": true,
41+
"**/node_modules/**": true
42+
},
1143
"git.openRepositoryInParentFolders": "never",
1244
"github.copilot.enable": {
13-
"*": false,
45+
"*": true,
1446
"markdown": false,
1547
"plaintext": false,
1648
"scminput": false
1749
},
1850
"github.gitProtocol": "ssh",
19-
"makefile.configureOnOpen": true,
51+
"grunt.autoDetect": "off",
52+
"gulp.autoDetect": "off",
53+
"jake.autoDetect": "off",
54+
"rubyLsp.formatter": "none",
55+
"rubyLsp.rubyVersionManager": {
56+
"identifier": "mise"
57+
},
58+
"search.exclude": {
59+
".git/**": true,
60+
"**/*.code-search": true,
61+
"**/bower_components": true,
62+
"**/node_modules": true
63+
},
2064
"telemetry.telemetryLevel": "off",
21-
"window.zoomLevel": 2,
65+
"terminal.external.osxExec": "Alacritty.app",
66+
"terminal.integrated.confirmOnExit": "always",
67+
"terminal.integrated.cursorBlinking": true,
68+
"window.zoomLevel": 1,
69+
"workbench.colorCustomizations": {
70+
"terminalCursor.foreground": "#00ffaa"
71+
},
2272
"workbench.colorTheme": "One Dark Pro",
2373
"workbench.startupEditor": "none"
24-
}
74+
}

0 commit comments

Comments
 (0)