diff --git a/.gitignore b/.gitignore index a6d3409..0c31ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ lazy-lock.json # Emacs *.elc + +common/**/*current* \ No newline at end of file diff --git a/Justfile b/Justfile index 39bf3c6..80b773e 100644 --- a/Justfile +++ b/Justfile @@ -1,26 +1,76 @@ set shell := ["fish", "-c"] set windows-shell := ["pwsh", "-c"] -check_info: - shellcheck -x -s sh **/*.sh platforms/mac/yabairc - shellcheck -x -s bash **/*.bash tools/bash/* scripts/*.{sh,zsh,bash} **/*.bashrc -check: - shellcheck -x -s sh --severity=error **/*.sh platforms/mac/yabairc - shellcheck -x -s bash --severity=error **/*.bash tools/bash/* **/*.bashrc -format: - shfmt -w -i 2 -ci -bn -p **/*.sh - shfmt -w -i 2 -ci -bn -ln bash **/*.bash platforms/mac/sketchybar/sketchybarrc - # Ignore syntax errors in zsh files - shfmt -w -i 2 -ci -bn -ln bash **/*.zsh tools/zsh/**/* **/zshrc || true -pull: - git pull github master - git pull codeberg master +DOTFILES := join(home_directory(), ".dotfiles") +XDG_CONFIG_HOME := \ + if env_var("XDG_CONFIG_HOME") != "" {env_var("XDG_CONFIG_HOME")} \ + else { + if os_family() == "windows" { + env_var("APPDATA") + } else { + join(home_directory(), ".config") + } + } -push: - git push github master - git push codeberg master +XDG_DATA_HOME := \ + if env_var("XDG_DATA_HOME") != "" {env_var("XDG_DATA_HOME")} \ + else { + if os_family() == "windows" { + env_var("LOCALAPPDATA") + } else { + join(home_directory(), ".local/share") + } + } + + +test: + echo {{DOTFILES}} + echo {{XDG_CONFIG_HOME}} + echo {{XDG_DATA_HOME}} init: git remote remove origin git remote add github git@github.com:js0ny/dotfiles.git git remote add codeberg git@codeberg.org:js0ny/dotfiles.git + +check: + @just check_shell +format: + @just format_shell + + +push: + git push github master + git push codeberg master + +setup: + @just ideavim + +ideavim: + ln -sf {{DOTFILES}}/common/ideavimrc $XDG_CONFIG_HOME/ideavim/ideavimrc + git clone https://github.com/MarcoIeni/intellimacs {{join(home_directory(), ".local/share/intellimacs")}} + +[private] +pull: + git pull github master + git pull codeberg master + + +[private] +[unix] +check_shell: + shellcheck -x -s sh --severity=error **/*.sh platforms/mac/yabairc + shellcheck -x -s bash --severity=error **/*.bash tools/bash/* **/*.bashrc + +[private] +[unix] +format_shell: + shfmt -w -i 2 -ci -bn -p **/*.sh + shfmt -w -i 2 -ci -bn -ln bash **/*.bash platforms/mac/sketchybar/sketchybarrc + # Ignore syntax errors in zsh files + shfmt -w -i 2 -ci -bn -ln bash **/*.zsh tools/zsh/**/* **/zshrc || true + +[private] +check_info: + shellcheck -x -s sh **/*.sh platforms/mac/yabairc + shellcheck -x -s bash **/*.bash tools/bash/* scripts/*.{sh,zsh,bash} **/*.bashrc \ No newline at end of file diff --git a/common/ideavimrc b/common/ideavimrc index f4b0436..3e4e251 100644 --- a/common/ideavimrc +++ b/common/ideavimrc @@ -7,7 +7,16 @@ " Linking: " ln -sf $DOTFILES/common/ideavimrc $XDG_CONFIG_HOME/ideavim/ideavimrc -""" Basic Configs """ +source ~/.local/share/intellimacs/spacemacs.vim + +source ~/.local/share/intellimacs/extra.vim +source ~/.local/share/intellimacs/major.vim +source ~/.local/share/intellimacs/hybrid.vim + +source ~/.local/share/intellimacs/which-key.vim + + +" """ Basic Configs """ let mapleader = " " " set to """ Colemak """ @@ -25,6 +34,19 @@ noremap K N noremap j e noremap J E +nnoremap H :bp +nnoremap I :bn +noremap N 5j +noremap E 5k +vnoremap H ^ +xnoremap H ^ +onoremap H ^ +vnoremap I $ +xnoremap I $ +onoremap I $ + + + " Y to yank to end of line noremap Y y$ @@ -95,7 +117,7 @@ nnoremap gr :action ShowUsages nnoremap gi :action GotoImplementation nnoremap gpi :action QuickImplementations nnoremap gs :action GotoSuperMethod -nnoremap ga :action +nnoremap ga :action ShowIntentionActions nnoremap gq :action ShowIntentionActions nnoremap ge :action GotoNextError diff --git a/common/starship.toml b/common/starship.toml index 9f07121..02d4358 100644 --- a/common/starship.toml +++ b/common/starship.toml @@ -1,4 +1,5 @@ # $DOTFILES/common/starship.toml +# vim:foldmethod=marker # Date: 2025-01-26 # Description: Use one starship config for all shells @@ -8,10 +9,11 @@ # Modified from the Powerline Preset "$schema" = 'https://starship.rs/config-schema.json' -palette = "catppuccin_mocha" + # {{{ format format = """ +$sudo\ $jobs\ $os\ $time\ @@ -24,6 +26,7 @@ $git_branch\ $git_status\ [](fg:#FCA17D bg:#86BBD8)\ $custom\ +$bun\ $c\ $cmake\ $cobol\ @@ -76,7 +79,7 @@ $shell\ """ # }}} -# {{{ TODO +# {{{ TODO: # # $buf\ # $nix_shell\ @@ -92,7 +95,6 @@ $shell\ # $direnv\ # $env_var\ # $crystal\ -# $custom\ # $sudo\ # $cmd_duration\ # $line_break\ @@ -231,6 +233,39 @@ format = '[$all_status$ahead_behind ]($style)' # }}} # {{{ Part 4 + + +[custom.just] +detect_files = ["Justfile", "justfile", ".Justfile", ".justfile"] +style = "bg:#86BBD8 fg:#794427" +format = "[ Just ]($style)" + +[custom.dotenv] +detect_files = [ + ".env", + ".env.local", + ".env.development", + ".env.test", + ".env.production", + ".env.staging", +] +style = "bg:#86BBD8 fg:#794427" +format = "[  ]($style)" +[custom.tex] +detect_extensions = ["tex", "bib"] +style = "bg:#86BBD8 fg:#794427" +format = "[  ]($style)" +[custom.readme] +detect_files = [ + "README.md", + "readme.md", + "README", + "readme", + "README.org", + "readme.org", +] +style = "bg:#86BBD8 fg:#794427" +format = "[ 󰂺 ]($style)" [c] symbol = " " style = "bg:#86BBD8 fg:#794427" @@ -335,6 +370,30 @@ symbol = " " style = "bg:#86BBD8 fg:#794427" format = '[ $symbol ($version) ]($style)' +[ruby] +symbol = " " +style = "bg:#86BBD8 fg:#794427" +format = '[ $symbol ($version) ]($style)' + +[bun] +symbol = " " +style = "bg:#86BBD8 fg:#794427" +format = '[ $symbol ($version) ]($style)' + +[typst] +symbol = " " +style = "bg:#86BBD8 fg:#794427" +format = '[ $symbol ($version) ]($style)' + +[zig] +symbol = "↯ " +style = "bg:#86BBD8 fg:#794427" +format = '[ $symbol ($version) ]($style)' + +[kotlin] +symbol = " " +style = "bg:#86BBD8 fg:#794427" +format = '[ $symbol ($version) ]($style)' # }}} @@ -394,8 +453,3 @@ mantle = "#181825" crust = "#11111b" # }}} - -[custom.just] -detect_files = ["Justfile", "justfile", ".Justfile", ".justfile"] -style = "bg:#86BBD8 fg:#794427" -format = "[Just]($style)" diff --git a/common/vim.noxdg.vimrc b/common/vim.noxdg.vimrc index c402dcf..08b99b8 100644 --- a/common/vim.noxdg.vimrc +++ b/common/vim.noxdg.vimrc @@ -13,8 +13,14 @@ endif noremap n j noremap e k noremap i l -noremap N J -noremap E K +nnoremap N 5j +nnoremap E 5k +vnoremap H ^ +xnoremap H ^ +onoremap H ^ +vnoremap I $ +xnoremap I $ +onoremap I $ noremap I L " Similar position to i diff --git a/common/vimrc b/common/vimrc index d4234d7..8bac7e8 100644 --- a/common/vimrc +++ b/common/vimrc @@ -8,8 +8,14 @@ noremap n j noremap e k noremap i l -noremap N J -noremap E K +nnoremap N 5j +nnoremap E 5k +vnoremap H ^ +xnoremap H ^ +onoremap H ^ +vnoremap I $ +xnoremap I $ +onoremap I $ noremap I L " Similar position to i diff --git a/platforms/win/Microsoft.PowerShell_profile.ps1 b/platforms/win/Microsoft.PowerShell_profile.ps1 index e3f0062..91cc838 100644 --- a/platforms/win/Microsoft.PowerShell_profile.ps1 +++ b/platforms/win/Microsoft.PowerShell_profile.ps1 @@ -84,4 +84,6 @@ function Show-WindowsNotification { $notifyIcon.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon((Get-Command pwsh).Source) $notifyIcon.Visible = $true $notifyIcon.ShowBalloonTip(0,$Title,$Message,[System.Windows.Forms.ToolTipIcon]::Info) -} \ No newline at end of file +} + +Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion" diff --git a/platforms/win/glzr/glazewm/config.yaml b/platforms/win/glzr/glazewm/config.yaml index fa5909c..0e5eb84 100644 --- a/platforms/win/glzr/glazewm/config.yaml +++ b/platforms/win/glzr/glazewm/config.yaml @@ -146,7 +146,9 @@ window_rules: window_title: { regex: ".*? - Peek" } - window_process: { equals: "Lively" } window_class: { regex: "HwndWrapper" } + # Ignore Quake-style consoles. - window_process: { equals: "WindowsTerminal" } + window_class: { equals: "CASCADIA_HOSTING_WINDOW_CLASS" } - commands: ["set-floating"] match: # Razer Synapse @@ -155,7 +157,25 @@ window_rules: - window_process: { equals: "AutoHotkeyUX" } - window_process: { equals: "ApplicationFrameHost" } window_title: { regex: "Settings|设置" } - + - window_process: { equals: "QQ" } + window_title: { equals: "图片查看器" } + # 微信图片视图 + - window_process: { equals: "WeChat" } + window_class: { equals: "ImagePreviewWnd" } + # 微信朋友圈视图 + - window_process: { equals: "WeChat" } + window_class: { equals: "SnsWnd" } + - window_process: { equals: "setup" } + window_title: { equals: "Visual Studio Installer" } + # JetBrains IDEs Floating Dialogs + - window_class: { equals: "SunAwtDialog" } + window_process: + { regex: "rider64|idea64|goland64|rustrover64|clion64|pycharm64" } + ## Browser + - window_process: { equals: "vivaldi" } + window_title: { regex: "^Vivaldi 设置.*$" } + - window_process: { equals: "vivaldi" } + window_title: { regex: "^Bitwarden - Vivaldi$" } binding_modes: # When enabled, the focused window can be resized via arrow keys or HJKL. - name: "resize" diff --git a/platforms/win/vsvimrc b/platforms/win/vsvimrc index ceb2de8..e44307e 100644 --- a/platforms/win/vsvimrc +++ b/platforms/win/vsvimrc @@ -7,10 +7,14 @@ noremap n j noremap e k noremap i l -noremap H 0 -noremap N 5j -noremap E 5k -noremap I $ +nnoremap N 5j +nnoremap E 5k +vnoremap H ^ +xnoremap H ^ +onoremap H ^ +vnoremap I $ +xnoremap I $ +onoremap I $ " Similar position to i noremap l i diff --git a/tools/fish/conf.d/keymap.fish b/tools/fish/conf.d/keymap.fish index 958ec7d..4e79ff5 100644 --- a/tools/fish/conf.d/keymap.fish +++ b/tools/fish/conf.d/keymap.fish @@ -13,29 +13,7 @@ fish_vi_key_bindings -# Colemak hnei -# ^ -# e -# < h i > -# n -# v -# bind -M default 'h' backward-char -bind -M default n down-or-search -bind -M default e up-or-search -bind -M default i forward-char - -# Similar position to [i] in QWERTY -bind -M default -m insert l repaint-mode -bind -M default -m insert L beginning-of-line repaint-mode - -# Ne{[k]s}t -> fish doesnt have this feature - -# [J]ump -bind -M default j forward-word -bind -M default J forward-bigword - -# Use N to Join -bind -M default N end-of-line delete-char +source $DOTFILES/tools/fish/conf.d/keymap/+colemak.fish # Emacs Hybrid bind -M default ctrl-p up-or-search diff --git a/tools/fish/conf.d/keymap/+colemak.fish b/tools/fish/conf.d/keymap/+colemak.fish new file mode 100644 index 0000000..77595dd --- /dev/null +++ b/tools/fish/conf.d/keymap/+colemak.fish @@ -0,0 +1,23 @@ +# Colemak hnei +# ^ +# e +# < h i > +# n +# v +# bind -M default 'h' backward-char +bind -M default n down-or-search +bind -M default e up-or-search +bind -M default i forward-char + +# Similar position to [i] in QWERTY +bind -M default -m insert l repaint-mode +bind -M default -m insert L beginning-of-line repaint-mode + +# Ne{[k]s}t -> fish doesnt have this feature + +# [J]ump +bind -M default j forward-word +bind -M default J forward-bigword + +# Use N to Join +bind -M default N end-of-line delete-char \ No newline at end of file diff --git a/tools/nvim/lua/keymaps/basic.lua b/tools/nvim/lua/keymaps/basic.lua index 5e9d68b..87ae316 100644 --- a/tools/nvim/lua/keymaps/basic.lua +++ b/tools/nvim/lua/keymaps/basic.lua @@ -54,12 +54,15 @@ local keymaps_basic = { -- Modification of Original Keymap - Colemak { mode = mode_arrow, keys = "h", cmd = "h", opts = { desc = "Left", silent = true } }, { mode = mode_arrow, keys = "i", cmd = "l", opts = { desc = "Right", silent = true } }, - { keys = "H", cmd = ":bprevious", opts = { desc = "Previous Buffer" } }, - { keys = "I", cmd = ":bnext", opts = { desc = "Next Buffer" } }, + { mode = {"n"}, keys = "H", cmd = "bprevious", opts = { desc = "Previous Buffer" } }, + { mode = {"n"}, keys = "I", cmd = "bnext", opts = { desc = "Next Buffer" } }, + { mode = {"v", "o", "x"}, keys = "H", cmd = "^", opts = { desc = "Start of Line" } }, + { mode = {"v", "o", "x"}, keys = "I", cmd = "$", opts = { desc = "End of Line" } }, { mode = mode_arrow, keys = "N", cmd = "5j", opts = { desc = "Up 5 Lines" } }, { mode = mode_arrow, keys = "E", cmd = "5e", opts = { desc = "Down 5 Lines" } }, { keys = "Y", cmd = "y$", opts = { desc = "Yank to End of Line" } }, - { keys = "E", cmd = "5k" }, + { mode = mode_arrow, keys = "N", cmd = "5j" }, + { mode = mode_arrow, keys = "E", cmd = "5k" }, { mode = { "n", "o", "x" }, keys = "l", cmd = "i", opts = { desc = "Insert" } }, { keys = "L", cmd = "I", opts = { desc = "Insert at Start of Line" } }, { mode = mode_arrow, keys = "k", cmd = "n", opts = { desc = "Next Search" } }, diff --git a/tools/obsidian/.markdownlint.jsonc b/tools/obsidian/.markdownlint.jsonc new file mode 100644 index 0000000..3aacfb0 --- /dev/null +++ b/tools/obsidian/.markdownlint.jsonc @@ -0,0 +1,34 @@ +{ + "ul-style": { // MD004 + "style": "dash" // - + }, + "ul-indent": { // MD007 + "indent": 4 + }, + "no-hard-tabs": { + "ignore_code_languages": [ + "go" + ] + }, + "line-length": false, // MD013 + "no-missing-space-atx": false, // MD018, prevent from formatting `#tag` to `# tag` + "no-inline-html": { // MD033 + "allowed_elements": [ + "kbd", // keyboard key + "u", // underline + "sup", // superscript + "sub", // subscript + "center", // center text + "cursor", // Personal use + "font", // Font family + "iframe" // Embed Web content + ] + }, + // "fenced-code-language": { // MD040 + // }, + "first-line-h1": false, // MD041 + "code-block-style": false // MD046: This will parse LaTeX indentation as indented code block + // "code-block-style": { + // "style": "fenced" // MD046 + // } +} \ No newline at end of file diff --git a/tools/powershell/Keymap.ps1 b/tools/powershell/Keymap.ps1 index 938f4d5..5e67b1f 100644 --- a/tools/powershell/Keymap.ps1 +++ b/tools/powershell/Keymap.ps1 @@ -9,21 +9,6 @@ Set-PSReadLineOption -PredictionViewStyle InlineView Set-PSReadLineOption -PredictionSource HistoryAndPlugin # Set-PSReadLineOption -ContinuationPrompt "`e[36m CR > " # Use Starship instead # PSReadLineKeyHandlers -## Colemak hnei -Set-PSReadLineKeyHandler -Chord "n" -Function NextHistory -ViMode Command -Set-PSReadLineKeyHandler -Chord "e" -Function PreviousHistory -ViMode Command -Set-PSReadLineKeyHandler -Chord "i" -Function ViForwardChar -ViMode Command -## Similar position to [i] in QWERTY -Set-PSReadLineKeyHandler -Chord "l" -Function ViInsertMode -ViMode Command -Set-PSReadlineKeyHandler -Chord "L" -Function ViInsertAtBegining -ViMode Command -## Ne{[k]s}t -Set-PSReadLineKeyHandler -Chord "k" -Function RepeatSearch -ViMode Command -Set-PSReadLineKeyHandler -Chord "K" -Function RepeatSearchBackward -ViMode Command -## [j]ump -Set-PSReadLineKeyHandler -Chord "j" -Function NextWordEnd -ViMode Command -Set-PSReadLineKeyHandler -Chord "J" -Function ViEndOfGlob -ViMode Command -## Use N to Join -Set-PSReadLineKeyHandler -Chord "N" -Function ViJoinLines -ViMode Command Set-PSReadLineKeyHandler -Chord "Control+Oem4" -Function ViCommandMode -ViMode Insert # ^[ to Escape Set-PSReadLineKeyHandler -Chord "Ctrl+a" -Function BeginningOfLine Set-PSReadLineKeyHandler -Chord "Ctrl+e" -Function EndOfLine @@ -38,5 +23,9 @@ Set-PSReadLineKeyHandler -Chord "Alt+Backspace" -Function BackwardKillLine Set-PSReadLineKeyHandler -Chord "Ctrl+Delete" -Function KillWord Set-PSReadLineKeyHandler -Chord "Ctrl+Shift+Delete" -Function KillLine Set-PSReadLineKeyHandler -Chord "Alt+Delete" -Function KillLine +Set-PSReadLineKeyHandler -Chord "Ctrl+c" -Function CopyOrCancelLine -ViMode Insert +Set-PSReadLineKeyHandler -Chord "Ctrl+c" -Function CopyOrCancelLine -ViMode Command ## Use to Invoke MenuComplete Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete + +. $(Join-Path $DOTFILES "tools" "powershell" "Keymap" "Colemak.ps1") \ No newline at end of file diff --git a/tools/powershell/Keymap/Colemak.ps1 b/tools/powershell/Keymap/Colemak.ps1 new file mode 100644 index 0000000..71d8acc --- /dev/null +++ b/tools/powershell/Keymap/Colemak.ps1 @@ -0,0 +1,15 @@ +## Colemak hnei +Set-PSReadLineKeyHandler -Chord "n" -Function NextHistory -ViMode Command +Set-PSReadLineKeyHandler -Chord "e" -Function PreviousHistory -ViMode Command +Set-PSReadLineKeyHandler -Chord "i" -Function ViForwardChar -ViMode Command +## Similar position to [i] in QWERTY +Set-PSReadLineKeyHandler -Chord "l" -Function ViInsertMode -ViMode Command +Set-PSReadlineKeyHandler -Chord "L" -Function ViInsertAtBegining -ViMode Command +## Ne{[k]s}t +Set-PSReadLineKeyHandler -Chord "k" -Function RepeatSearch -ViMode Command +Set-PSReadLineKeyHandler -Chord "K" -Function RepeatSearchBackward -ViMode Command +## [j]ump +Set-PSReadLineKeyHandler -Chord "j" -Function NextWordEnd -ViMode Command +Set-PSReadLineKeyHandler -Chord "J" -Function ViEndOfGlob -ViMode Command +## Use N to Join +Set-PSReadLineKeyHandler -Chord "N" -Function ViJoinLines -ViMode Command \ No newline at end of file diff --git a/tools/powershell/Prompt.ps1 b/tools/powershell/Prompt.ps1 index ae31068..1ae9545 100644 --- a/tools/powershell/Prompt.ps1 +++ b/tools/powershell/Prompt.ps1 @@ -3,7 +3,81 @@ # Author: js0ny # Use starship to set prompt -Invoke-Expression (&starship init powershell) +# Invoke-Expression (&starship init powershell) + + +function formatFG { + param( + [string]$RGB + ) + if ($RGB -eq "-1") { + return "`e[39m" + } + $R = $RGB.Substring(0, 2) + $G = $RGB.Substring(2, 2) + $B = $RGB.Substring(4, 2) + # Convert hex to RGB + $R = [int]::Parse($R, [System.Globalization.NumberStyles]::HexNumber) + $G = [int]::Parse($G, [System.Globalization.NumberStyles]::HexNumber) + $B = [int]::Parse($B, [System.Globalization.NumberStyles]::HexNumber) + return "`e[38;2;$R;$G;${B}m" +} + +function formatBG { + param( + [string]$RGB + ) + if ($RGB -eq "-1") { + return "`e[49m" + } + $R = $RGB.Substring(0, 2) + $G = $RGB.Substring(2, 2) + $B = $RGB.Substring(4, 2) + # Convert hex to RGB + $R = [int]::Parse($R, [System.Globalization.NumberStyles]::HexNumber) + $G = [int]::Parse($G, [System.Globalization.NumberStyles]::HexNumber) + $B = [int]::Parse($B, [System.Globalization.NumberStyles]::HexNumber) + return "`e[48;2;$R;$G;${B}m" +} +function formatPowerlineText { + param( + [string]$FG, + [string]$BG, + [string]$PLBG, + [string]$Text + ) + $ResumeSequece = "`e[0m" + $TextFG = formatFG -RGB $FG + $TextBG = formatBG -RGB $BG + $PLFG = formatFG -RGB $BG + $PLBG = formatBG -RGB $PLBG + return "$TextFG$TextBG $Text $PLFG$PLBG$ResumeSequece" +} + +function prompt { + if ($pwd.Path -eq $HOME) { + $cwd = "~" + } else { + $cwd = $pwd.ProviderPath + } + $time = Get-Date -Format "HH:mm" + $ResumeSequece = "`e[0m" + $FG0 = "FFFFFF" + $BG0 = "9A348E" + $BG1 = "DA627D" + $BG2 = "FCA17D" + $FG1 = "035E82" + $time = formatPowerlineText $FG0 $BG0 $BG1 $time + $cwd = formatPowerlineText $FG0 $BG1 $BG2 $cwd + $ps = formatPowerlineText $FG1 $BG2 "-1" "PS" + + "$time$cwd$ps$ResumeSequece " + +} + +function Invoke-Starship { + Invoke-Expression (&starship init powershell) +} Import-Module Catppuccin diff --git a/tools/vscode/vscode.vimrc b/tools/vscode/vscode.vimrc index bc65a4e..2ced56a 100644 --- a/tools/vscode/vscode.vimrc +++ b/tools/vscode/vscode.vimrc @@ -17,8 +17,15 @@ noremap e k noremap i l " Switch between tabs -noremap H :bprevious -noremap I :bnext +nnoremap H :bprevious +nnoremap I :bnext +vnoremap H ^ +xnoremap H ^ +onoremap H ^ +vnoremap I $ +xnoremap I $ +onoremap I $ + noremap N 5j noremap E 5k @@ -68,10 +75,11 @@ vnoremap > editor.action.indentLines nmap w cjkWordHandler.cursorWordEndRight nmap b cjkWordHandler.cursorWordStartLeft -noremap n j -noremap e k -noremap i l -noremap x workbench.action.toggleEditorGroupLayout -" Use C-w C-w as original C-w -noremap workbench.action.closeActiveEditor -noremap workbench.action.togglePanel +" will be parsed by VSCode itself. +" noremap n j +" noremap e k +" noremap i l +" noremap x workbench.action.toggleEditorGroupLayout +" " Use C-w C-w as original C-w +" noremap workbench.action.closeActiveEditor +" noremap workbench.action.togglePanel