Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitavoloboev committed Nov 6, 2018
1 parent 8bed4eb commit 0195673
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
3 changes: 3 additions & 0 deletions hammerspoon/meta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ _asm = {} -- TODO: ?
_asm.hs_default_require = require
require = rawrequire

-- Make the console dark
hs.console.darkMode(true)

-- Link Spoons dir
-- TODO: doesn't work
-- package.path = hs.configdir .. "/Spoons/?.spoon/init.lua;"
Expand Down
8 changes: 4 additions & 4 deletions karabiner/karabiner.edn
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
{:des "wkey (apps)"
:rules[:w-mode
[:k [:km "open: Safari"]]
[:a [:km "open: Activity Monitor"]]
[:h [:km "open: Activity Monitor"]]
[:i [:km "open: Chrome Canary"]]
[:u [:km "open: Firefox Dev"]]
[:g [:km "open: Bee"]]
Expand All @@ -154,7 +154,7 @@
[:m [:km "open: Tower"]]
[:b [:km "open: BetterTouchTool"]]
[:r [:km "open: Fantastical"]]
[:e :!OSC1] ; Search Dash
[:e :!OSC1] ; Open Dash
[:semicolon [:km "open: Xcode"]]
[:period [:km "open: SnippetsLab"]]
[:f [:km "open: 2do"]]
Expand Down Expand Up @@ -231,6 +231,7 @@
[:r :!Squote]
[:d :backslash]
[:x :!Sbackslash]
[:b [:!St :!So :!Sd :!So :!Ssemicolon :spacebar]]
[:caps_lock [:km "Match symbols"]]
[:e :!S3]
[:1 :!S1]
Expand Down Expand Up @@ -258,7 +259,6 @@
[:5 :!C5]
[:6 :!C6]
[:w :!CObackslash]
[:v :!CT5] ; New Fantastical event
[:spacebar [:alfred "search PDF files" "nikivi.search.files"]]
[:g [ :alfred "search snippets" "com.renfei.SnippetsLab.AlfredWorkflow"]]
[:grave_accent_and_tilde [:alfred "search processes" "com.vitorgalvao.alfred.processcontrol"]]
Expand Down Expand Up @@ -363,7 +363,7 @@
[:l [:km "Select line and google"]]
[:m [:km "Google clipboard"]]
[:b {:pkey :button3}]
[:s {:pkey :button2}]
[:z {:pkey :button2}]
[:v {:pkey :button1}]
[:a :!TCO8]
[:period :!CTO3]]}
Expand Down
1 change: 1 addition & 0 deletions nix/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
pkgs.direnv
pkgs.exa
pkgs.fzf
pkgs.htop
pkgs.httpie
pkgs.gitAndTools.git-hub
pkgs.git
Expand Down
2 changes: 1 addition & 1 deletion sublime/JsPrettier.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"*.css"
],
"trailingComma": "es5",
"prettier_cli_path": "/Users/nikivi/.npm-global/bin/prettier",
"prettier_cli_path": "/Users/nikivi/.nvm/versions/node/v10.8.0/bin/prettier",
}
10 changes: 5 additions & 5 deletions vscode/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"when": "editorTextFocus && inDebugMode"
},
{
"key": "ctrl+k",
"key": "ctrl+;",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
Expand Down Expand Up @@ -185,19 +185,19 @@
"command": "newFile.createNewFile"
},
{
"key": "shift+cmd+j",
"key": "ctrl+j",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+k",
"key": "ctrl+k",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+g",
"command": "extension.copyGitHubLinkToClipboard"
},
{
"key": "ctrl+m",
"key": "ctrl+g",
"command": "bookmarks.toggle"
},
{
Expand Down Expand Up @@ -274,7 +274,7 @@
"when": "editorTextFocus"
},
{
"key": "ctrl+j",
"key": "ctrl+m",
"command": "extension.dash.all",
"when": "editorTextFocus"
},
Expand Down
5 changes: 4 additions & 1 deletion vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#212121"
},
"[reason]": {
"editor.formatOnSave": true
},
// editor
"editor.renderLineHighlight": "line",
"editor.hideCursorInOverviewRuler": true,
Expand Down Expand Up @@ -34,7 +37,7 @@
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.colorTheme": "Monokai Night",
// window
"window.zoomLevel": -1,
"window.zoomLevel": 0,
"window.restoreWindows": "all",
"window.title": "${activeEditorMedium}${separator}${rootName}",
"window.newWindowDimensions": "maximized",
Expand Down
4 changes: 3 additions & 1 deletion zsh/env.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export PATH=$PATH:~/.dotfiles/bin
export PATH=$PATH:~/.cargo/bin # Rust
export GOPATH="$(go env GOPATH)" # Go
export PATH="$PATH:$GOPATH/bin" # Go
export PATH=$PATH:~/.npm-global/bin # npm globally installed

# TODO: ?
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
Expand All @@ -18,4 +17,7 @@ export PATH=$PATH:~/.npm-global/bin # npm globally installed
# look at the existing prompt and use below function as it returns needed info
has_direnv() { if [[ -n $DIRENV_DIFF ]]; then echo in direnv; else echo not; fi }

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

typeset -U PATH # Remove duplicates in $PATH

0 comments on commit 0195673

Please sign in to comment.