CPP vim config / switch exa to eza

This commit is contained in:
Alessandro
2024-02-06 09:35:56 +01:00
parent 465b3107ce
commit 9a8f6c83f4
3 changed files with 8 additions and 2 deletions

View File

@@ -16,6 +16,10 @@ vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.api.nvim_create_autocmd("FileType", {
pattern = "cpp",
command = "setlocal shiftwidth=2 tabstop=2"
})
-- keymappings [view all the defaults by pressing <leader>Lk]
lvim.leader = "space"
-- add your own keymapping

Submodule ohmyzsh updated: 6d48309cd7...80c114cb3a

4
zshrc
View File

@@ -103,6 +103,7 @@ source $ZSH/oh-my-zsh.sh
# For a full list of active aliases, run `alias`.
#
# Example aliases
alias sshh='fast-ssh'
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias open='~/.local/bin/open.sh'
@@ -120,12 +121,13 @@ alias grep='rg'
alias du='dust'
# ls
alias ls='exa --icons'
alias ls='eza --icons=always'
alias l='ls -lb'
alias l1='ls -1'
alias ll='ls -lab'
alias lb='ls -lb --reverse --sort=size'
alias lr='ls -R'
alias lt='ls -T'
alias lg='ls -l --group-directories-first'
# git