mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-13 13:56:00 +01:00
Compare commits
No commits in common. "0626cf69eaa1480ebdcec87647b4c5dc9d590886" and "a3e17237877ab5e7e7556dd19edd72088b88d3e1" have entirely different histories.
0626cf69ea
...
a3e1723787
4 changed files with 4 additions and 59 deletions
|
|
@ -17,19 +17,6 @@ l () {
|
|||
local target="${1:-$(pwd)}"
|
||||
|
||||
if [ -f $target ] ; then
|
||||
# Target is not a text file
|
||||
if [ -L $target ] || grep -q -P "[^\x00-\x7F]" $target; then
|
||||
ls -lah $target
|
||||
|
||||
# Target is not a symlink, so it must be binary
|
||||
if [ ! -L $target ]; then
|
||||
echo ""
|
||||
echo -e "\033[96mBinary file. Run 'll $target' to preview anyways.\e[0m"
|
||||
fi
|
||||
|
||||
return
|
||||
fi
|
||||
|
||||
less $target
|
||||
return
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -65,45 +65,5 @@
|
|||
{
|
||||
"key": "alt+q",
|
||||
"command": "workbench.action.toggleMaximizedPanel"
|
||||
},
|
||||
{
|
||||
"key": "alt+z",
|
||||
"command": "workbench.action.debug.restart",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+f5",
|
||||
"command": "-workbench.action.debug.restart",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "alt+z",
|
||||
"command": "workbench.action.debug.start",
|
||||
"when": "debuggersAvailable && debugState == 'inactive'"
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "-workbench.action.debug.start",
|
||||
"when": "debuggersAvailable && debugState == 'inactive'"
|
||||
},
|
||||
{
|
||||
"key": "alt+x",
|
||||
"command": "workbench.action.debug.stop",
|
||||
"when": "inDebugMode && !focusedSessionIsAttach"
|
||||
},
|
||||
{
|
||||
"key": "shift+f5",
|
||||
"command": "-workbench.action.debug.stop",
|
||||
"when": "inDebugMode && !focusedSessionIsAttach"
|
||||
},
|
||||
{
|
||||
"key": "alt+c",
|
||||
"command": "workbench.action.debug.continue",
|
||||
"when": "debugState == 'stopped'"
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "-workbench.action.debug.continue",
|
||||
"when": "debugState == 'stopped'"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
@ -33,8 +33,5 @@
|
|||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"autoDocstring.startOnNewLine": true,
|
||||
"chat.disableAIFeatures": true,
|
||||
"editor.snippetSuggestions": "top",
|
||||
"emmet.showSuggestionsAsSnippets": true
|
||||
"autoDocstring.startOnNewLine": true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
"scope": "javascript,typescript",
|
||||
"prefix": "log",
|
||||
"body": [
|
||||
"console.log(\"$1\");",
|
||||
"console.log('$1');",
|
||||
"$2"
|
||||
],
|
||||
"description": "Log output to console"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue