Compare commits
No commits in common. "b18031ffc48e126a33c7ffd1309a0e4fd9e07319" and "2cb9042040c8514357acb7d7382610946efb3b23" have entirely different histories.
b18031ffc4
...
2cb9042040
@ -137,11 +137,9 @@ let light_theme = {
|
||||
}
|
||||
|
||||
# External completer example
|
||||
let carapace_completer = if (which carapace | is-empty) {
|
||||
null
|
||||
} else {
|
||||
{|spans| carapace $spans.0 nushell ...$spans | from json}
|
||||
}
|
||||
# let carapace_completer = {|spans|
|
||||
# carapace $spans.0 nushell $spans | from json
|
||||
# }
|
||||
|
||||
# The default config record. This is where much of your global configuration is setup.
|
||||
$env.config = {
|
||||
@ -212,7 +210,7 @@ $env.config = {
|
||||
external: {
|
||||
enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up may be very slow
|
||||
max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
||||
completer: $carapace_completer
|
||||
completer: null # check 'carapace_completer' above as an example
|
||||
}
|
||||
}
|
||||
|
||||
@ -762,7 +760,7 @@ $env.config = {
|
||||
}
|
||||
{
|
||||
name: move_up
|
||||
modifier: control
|
||||
modifier: alt
|
||||
keycode: char_k
|
||||
mode: [vi_normal, vi_insert]
|
||||
event: {
|
||||
@ -774,7 +772,7 @@ $env.config = {
|
||||
}
|
||||
{
|
||||
name: move_down
|
||||
modifier: control
|
||||
modifier: alt
|
||||
keycode: char_j
|
||||
mode: [vi_normal, vi_insert]
|
||||
event: {
|
||||
@ -786,7 +784,7 @@ $env.config = {
|
||||
}
|
||||
{
|
||||
name: move_left
|
||||
modifier: control
|
||||
modifier: alt
|
||||
keycode: char_h
|
||||
mode: [vi_normal, vi_insert]
|
||||
event: {
|
||||
@ -798,7 +796,7 @@ $env.config = {
|
||||
}
|
||||
{
|
||||
name: move_right_or_take_history_hint
|
||||
modifier: control
|
||||
modifier: alt
|
||||
keycode: char_l
|
||||
mode: [vi_normal, vi_insert]
|
||||
event: {
|
||||
@ -816,7 +814,6 @@ alias v = nvim
|
||||
alias tl = tmux list-sessions
|
||||
alias tn = tmux new -s
|
||||
alias ta = tmux attach -t
|
||||
alias nocaps = setxkbmap pl -option ctrl:nocaps
|
||||
|
||||
def gst [] {
|
||||
git status -s | detect columns -n | rename status file
|
||||
@ -825,7 +822,3 @@ def gst [] {
|
||||
def glog [] {
|
||||
git log --pretty=%h»¦«%aN»¦«%s»¦«%aD | lines | split column "»¦«" sha1 committer desc merged_at
|
||||
}
|
||||
|
||||
def l [pattern? = '.'] {
|
||||
ls $pattern | grid -c
|
||||
}
|
||||
|
@ -156,8 +156,6 @@ keybinds {
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt [" { PreviousSwapLayout; }
|
||||
bind "Alt ]" { NextSwapLayout; }
|
||||
bind "Alt H" { GoToPreviousTab; }
|
||||
bind "Alt L" { GoToNextTab; }
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user