mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
Compare commits
4 commits
256c856778
...
2b508fff7d
Author | SHA1 | Date | |
---|---|---|---|
2b508fff7d | |||
abde7c1708 | |||
7598762fcc | |||
c740a1635e |
3 changed files with 31 additions and 7 deletions
|
@ -1,4 +1,7 @@
|
||||||
function cat --wraps=bat --description 'alias cat bat'
|
function cat --wraps=bat --description 'alias cat bat'
|
||||||
|
if type -q bat
|
||||||
bat $argv
|
bat $argv
|
||||||
|
else
|
||||||
|
command cat $argv
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,20 @@
|
||||||
local plugins = {
|
local plugins = {
|
||||||
|
{
|
||||||
|
"nvim-tree/nvim-tree.lua",
|
||||||
|
opts = {
|
||||||
|
git = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
renderer = {
|
||||||
|
highlight_git = true,
|
||||||
|
icons = {
|
||||||
|
show = {
|
||||||
|
git = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter", -- grammars
|
"nvim-treesitter/nvim-treesitter", -- grammars
|
||||||
opts = {
|
opts = {
|
||||||
|
@ -8,6 +24,15 @@ local plugins = {
|
||||||
"python",
|
"python",
|
||||||
},
|
},
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
incremental_selection = {
|
||||||
|
enable = true,
|
||||||
|
keymaps = {
|
||||||
|
init_selection = "<C-space>",
|
||||||
|
node_incremental = "<C-space>",
|
||||||
|
scope_incremental = false,
|
||||||
|
node_decremental = "<bs>",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -72,7 +72,6 @@ set -g status-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
set -g status-style 'fg=blue'
|
set -g status-style 'fg=blue'
|
||||||
set -g status-left ' '
|
set -g status-left ' '
|
||||||
set -g status-left-style 'fg=blue dim'
|
|
||||||
set -g status-right '%Y-%m-%d %H:%M'
|
set -g status-right '%Y-%m-%d %H:%M'
|
||||||
set -g status-right-length 50
|
set -g status-right-length 50
|
||||||
set -g status-left-length 10
|
set -g status-left-length 10
|
||||||
|
@ -80,13 +79,10 @@ set -g status-left-length 10
|
||||||
setw -g window-status-current-style 'fg=default bg=blue bold'
|
setw -g window-status-current-style 'fg=default bg=blue bold'
|
||||||
setw -g window-status-current-format ' #I #W #F '
|
setw -g window-status-current-format ' #I #W #F '
|
||||||
|
|
||||||
setw -g window-status-style 'fg=blue dim'
|
setw -g window-status-style 'fg=blue'
|
||||||
setw -g window-status-format ' #I #W #F '
|
setw -g window-status-format ' #I #W #F '
|
||||||
|
|
||||||
setw -g window-status-bell-style 'fg=black bg=yellow bold'
|
setw -g window-status-bell-style 'fg=black bg=yellow bold'
|
||||||
|
|
||||||
# messages
|
# messages
|
||||||
set -g message-style 'fg=black bg=white bold'
|
set -g message-style 'fg=black bg=white bold'
|
||||||
|
|
||||||
set -g window-style 'dim'
|
|
||||||
set -g window-active-style 'dim'
|
|
||||||
|
|
Loading…
Reference in a new issue