fix(shell): add space after setup
This commit is contained in:
parent
d9c346f014
commit
ee2a14660e
3 changed files with 6 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ for _hm in "/etc/profiles/per-user/$(id -un)" "$HOME/.nix-profile"; do
|
||||||
done
|
done
|
||||||
unset _hm
|
unset _hm
|
||||||
|
|
||||||
shopt -s autocd histappend
|
shopt -s autocd globstar histappend
|
||||||
|
|
||||||
HISTFILE="${XDG_STATE_HOME:-$HOME/.local/state}/bash_history"
|
HISTFILE="${XDG_STATE_HOME:-$HOME/.local/state}/bash_history"
|
||||||
HISTSIZE=2000
|
HISTSIZE=2000
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ return {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ '<c-l>', '<cmd>FzfLua live_grep<cr>' },
|
{ '<c-l>', '<cmd>FzfLua live_grep<cr>' },
|
||||||
{ '<leader>f/', '<cmd>FzfLua search_history<cr>' },
|
{ '<leader>f/', '<cmd>FzfLua search_history<cr>' },
|
||||||
{ '<leader>f:', '<cmd>FzfLua command_history<cr>' },
|
{ '<leader>f:', '<cmd>FzfLua command_history<cr>' },
|
||||||
{ '<leader>fa', '<cmd>FzfLua autocmds<cr>' },
|
{ '<leader>fa', '<cmd>FzfLua autocmds<cr>' },
|
||||||
|
|
@ -70,8 +70,8 @@ return {
|
||||||
},
|
},
|
||||||
{ '<leader>gb', '<cmd>FzfLua git_branches<cr>' },
|
{ '<leader>gb', '<cmd>FzfLua git_branches<cr>' },
|
||||||
{ '<leader>gw', '<cmd>FzfLua git_worktrees<cr>' },
|
{ '<leader>gw', '<cmd>FzfLua git_worktrees<cr>' },
|
||||||
{ 'gq', '<cmd>FzfLua quickfix<cr>' },
|
{ 'gq', '<cmd>FzfLua quickfix<cr>' },
|
||||||
{ 'gl', '<cmd>FzfLua loclist<cr>' },
|
{ 'gl', '<cmd>FzfLua loclist<cr>' },
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
file_icon_padding = ' ',
|
file_icon_padding = ' ',
|
||||||
|
|
@ -133,6 +133,7 @@ return {
|
||||||
git = {
|
git = {
|
||||||
files = {
|
files = {
|
||||||
cmd = 'git ls-files --cached --others --exclude-standard',
|
cmd = 'git ls-files --cached --others --exclude-standard',
|
||||||
|
git_icons = false,
|
||||||
},
|
},
|
||||||
worktrees = {
|
worktrees = {
|
||||||
fzf_args = ((vim.env.FZF_DEFAULT_OPTS or '')
|
fzf_args = ((vim.env.FZF_DEFAULT_OPTS or '')
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@ in
|
||||||
truncate_to_repo = false;
|
truncate_to_repo = false;
|
||||||
};
|
};
|
||||||
git_branch = {
|
git_branch = {
|
||||||
format = "[$branch]($style)";
|
format = "[$branch]($style) ";
|
||||||
style = "242";
|
style = "242";
|
||||||
};
|
};
|
||||||
git_status = {
|
git_status = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue