AutoYADM commit: 2025-05-21 02:32:37
This commit is contained in:
parent
28c3d3251f
commit
bbbc0d4c6b
3 changed files with 15 additions and 4 deletions
|
@ -29,8 +29,8 @@ function man --wraps man --description 'Format and display manual pages'
|
|||
set -l fish_manpath (dirname $fish_data_dir)/fish/man
|
||||
if test -d "$fish_manpath" -a -n "$MANPATH"
|
||||
set MANPATH "$fish_manpath":$MANPATH
|
||||
command man $argv
|
||||
command man $argv | kak -e 'set buffer filetype man'
|
||||
return
|
||||
end
|
||||
command man $argv
|
||||
command man $argv | kak -e 'set buffer filetype man'
|
||||
end
|
||||
|
|
|
@ -16,7 +16,7 @@ bundle auto-pairs.kak https://github.com/alexherbo2/auto-pairs.kak %{
|
|||
enable-auto-pairs
|
||||
}
|
||||
|
||||
bundle fzf.kak https://github.com/andreyorst/fzf.kak %{
|
||||
bundle-noload fzf.kak https://github.com/andreyorst/fzf.kak %{
|
||||
require-module fzf
|
||||
set-option global fzf_highlight_command "bat"
|
||||
require-module fzf-grep
|
||||
|
|
|
@ -4,7 +4,6 @@ colorscheme ashen
|
|||
# colorscheme one-dark
|
||||
# colorscheme mocha
|
||||
require-module fishr
|
||||
require-module peneira
|
||||
|
||||
try %{
|
||||
set-option global ashen_dynamic_cursor true
|
||||
|
@ -105,3 +104,15 @@ define-command -docstring "Create a scratch buffer" scratch %{
|
|||
edit -scratch
|
||||
}
|
||||
alias global s scratch
|
||||
|
||||
require-module peneira
|
||||
|
||||
declare-user-mode peneira
|
||||
map -docstring %{
|
||||
Picker mode
|
||||
} global user f ': enter-user-mode peneira<ret>'
|
||||
map -docstring 'pick file' global peneira f ': peneira-files<ret>'
|
||||
map -docstring 'pick unopened file' global peneira F ': peneira-files -hide-opened<ret>'
|
||||
map -docstring %{
|
||||
pick line in buffer
|
||||
} global peneira '/' ': peneira-lines<ret>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue