Skip to content

Commit

Permalink
Vim: tweak startify
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Nov 27, 2024
1 parent 324351d commit eeaf603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions scripts/check-postconditions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ commandsOptional=(
json-tui # TUI to visualize json input
shfmt # shell format
thorium # chromium web browser
toilet # used in vim startify
trash-put # trash-cli
uuidgen # generate uuid
vimdiff # git diffs in vim
Expand Down
6 changes: 3 additions & 3 deletions vimrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -190,25 +190,25 @@ cabbrev windowsfile e ++ff=dos
cabbrev dosfile e ++ff=dos

" Startify
let g:startify_files_number = 10
let g:startify_files_number = 20
let g:startify_change_to_dir = 0
let startify_custom_header = split(system('toilet -f pagga " VIM"'), '\n')
let g:startify_enable_special = 0
let g:startify_relative_path = 1
autocmd User Startified nmap <buffer> e <leader>e

let g:startify_lists = [
\ {'type': 'files', 'header': [' Recently']},
\ {'type': 'commands', 'header': [' Commands']},
\ {'type': 'bookmarks', 'header': [' Bookmarks']},
\ ]

let g:startify_commands = []

let g:startify_bookmarks = [
\ {'d': '~/dotfiles'},
\ {'n': '~/dotfiles/nix/packages.nix'},
\ ]


" Rooter
let g:rooter_buftypes = ['']
let g:rooter_targets = '*'
Expand Down

0 comments on commit eeaf603

Please sign in to comment.