update dotfiles
This commit is contained in:
parent
17ec98587f
commit
d1ed708ca0
6
.bashrc
6
.bashrc
|
@ -124,7 +124,7 @@ export PATH="$PATH:HOME/.local/bin:$HOME/bin:$HOME/.local/share/flatpak/exports/
|
|||
|
||||
# alias
|
||||
|
||||
alias update="sudo apt update && sudo apt upgrade ; sudo apt autoremove ; flatpak upgrade -y ; flatpak uninstall --unused -y ; pipx upgrade-all"
|
||||
alias update="sudo apt update && sudo apt upgrade ; sudo apt autoremove ; flatpak upgrade -y ; flatpak uninstall --unused -y"
|
||||
alias ll='eza -lh --icons -g'
|
||||
alias install="sudo apt install --no-install-recommends"
|
||||
alias purge="sudo apt purge -y"
|
||||
|
@ -134,19 +134,17 @@ alias autopurge="sudo apt autopurge -y"
|
|||
alias search="apt search"
|
||||
alias v="vim 2> /dev/null"
|
||||
alias sv="sudo vim 2> /dev/null"
|
||||
alias files_replace_space='for f in *\ *; do mv "$f" "${f// /_}"; done'
|
||||
alias ga="git add"
|
||||
alias push="git push -u origin master"
|
||||
alias pull="git pull"
|
||||
alias gs="git status"
|
||||
alias gm="git commit -m"
|
||||
alias rr="rnr 2> /dev/null"
|
||||
alias ipc="ip --color a"
|
||||
alias ss="scrcpy -S"
|
||||
alias weather="curl https://wttr.in/Sacile"
|
||||
alias nn="ncdu --color dark"
|
||||
alias pd="pandoc -f markdown -t pdf --pdf-engine=xelatex -V lang=it -V colorlinks=true -V linkcolor=teal -V urlcolor=teal -V toccolor=gray --template eisvogel --listings -V table-use-row-colors=true"
|
||||
alias fh="feh"
|
||||
alias fhm="feh -m"
|
||||
|
||||
# PS1
|
||||
|
||||
|
|
56
.vimrc
56
.vimrc
|
@ -1,4 +1,4 @@
|
|||
" IMPOSTAZIONI ----------------------------------------------------------- {{{
|
||||
" IMPOSTAZIONI -----------------------------------------------------------
|
||||
|
||||
packadd! dracula
|
||||
colorscheme dracula
|
||||
|
@ -48,10 +48,10 @@ set ttyfast " Speed up scrolling in Vim
|
|||
set encoding=UTF-8
|
||||
set updatetime=300
|
||||
set signcolumn=yes
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" PLUGINS ---------------------------------------------------------------- {{{
|
||||
" PLUGINS ----------------------------------------------------------------
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
@ -86,17 +86,17 @@ Plugin 'Valloric/YouCompleteMe'
|
|||
|
||||
call vundle#end() " required
|
||||
|
||||
" }}}zo
|
||||
" zo
|
||||
|
||||
|
||||
" MAPPINGS --------------------------------------------------------------- {{{
|
||||
" MAPPINGS ---------------------------------------------------------------
|
||||
|
||||
" Mappings code goes here.
|
||||
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" VIMSCRIPT -------------------------------------------------------------- {{{
|
||||
" VIMSCRIPT --------------------------------------------------------------
|
||||
|
||||
" This will enable code folding.
|
||||
" zo per aprire una singola piega sotto il cursore.
|
||||
|
@ -111,27 +111,27 @@ augroup END
|
|||
|
||||
" More Vimscripts code goes here.
|
||||
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" PREDICTIVE ------------------------------------------------------------- {{{
|
||||
" PREDICTIVE -------------------------------------------------------------
|
||||
"
|
||||
let g:predictive#dict_path = expand($HOME . '/dict')
|
||||
let g:predictive#disable_plugin = 0
|
||||
"
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" YOUCOMPLETEME ------------------------------------------------------------- {{{
|
||||
" YOUCOMPLETEME -------------------------------------------------------------
|
||||
"
|
||||
let g:ycm_global_ycm_extra_conf='~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py'
|
||||
let g:ycm_confirm_extra_conf=0
|
||||
let g:ycm_python_binary_path='/usr/bin/python3'
|
||||
"
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" NERD-TREE ------------------------------------------------------------- {{{
|
||||
" NERD-TREE -------------------------------------------------------------
|
||||
"
|
||||
" Start NERDTree and put the cursor back in the other window.
|
||||
"autocmd VimEnter * NERDTree | wincmd p"
|
||||
|
@ -145,10 +145,10 @@ let g:ycm_python_binary_path='/usr/bin/python3'
|
|||
" Open the existing NERDTree on each new tab.
|
||||
"autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
|
||||
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" MD-FOLDING ------------------------------------------------------------- {{{
|
||||
" MD-FOLDING -------------------------------------------------------------
|
||||
"
|
||||
let g:markdown_folding = 1
|
||||
"
|
||||
|
@ -162,10 +162,10 @@ let g:markdown_folding = 1
|
|||
"zM close all folds
|
||||
"zr increase foldlevel by one
|
||||
"zR open all folds
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" MARK-DOWN-PREVIEW ----------------------------------------------------- {{{
|
||||
" MARK-DOWN-PREVIEW -----------------------------------------------------
|
||||
" https://github.com/iamcco/markdown-preview.nvim
|
||||
"
|
||||
" set to 1, nvim will open the preview window after entering the markdown buffer
|
||||
|
@ -266,10 +266,10 @@ let g:mkdp_filetypes = ['markdown']
|
|||
" set default theme (dark or light)
|
||||
" By default the theme is define according to the preferences of the system
|
||||
let g:mkdp_theme = 'dark'
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" VIM-TAG --------------------------------------------------------------- {{{
|
||||
" VIM-TAG ---------------------------------------------------------------
|
||||
"
|
||||
" filenames like *.xml, *.html, *.xhtml, ...
|
||||
" These are the file extensions where this plugin is enabled.
|
||||
|
@ -314,10 +314,10 @@ let g:closetag_shortcut = '>'
|
|||
"
|
||||
let g:closetag_close_shortcut = '<leader>>'
|
||||
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" EMMET-PLUGIN --------------------------------------------------------- {{{
|
||||
" EMMET-PLUGIN ---------------------------------------------------------
|
||||
let g:user_emmet_settings = {
|
||||
\ 'variables': {'lang': 'ja'},
|
||||
\ 'html': {
|
||||
|
@ -339,18 +339,18 @@ let g:user_emmet_settings = {
|
|||
\ },
|
||||
\ },
|
||||
\}
|
||||
" }}}
|
||||
"
|
||||
|
||||
|
||||
" RAINBOW PARENTHESES -------------------------------------------------- {{{
|
||||
" RAINBOW PARENTHESES --------------------------------------------------
|
||||
" https://github.com/frazrepo/vim-rainbow
|
||||
|
||||
let g:rainbow_ctermfgs = ['lightblue', 'lightgreen', 'yellow', 'red', 'magenta']
|
||||
|
||||
"}}}
|
||||
|
||||
|
||||
" MULTI-CURSOR --------------------------------------------------------- {{{
|
||||
|
||||
" MULTI-CURSOR ---------------------------------------------------------
|
||||
" https://github.com/mg979/vim-visual-multi
|
||||
|
||||
"To make a basic selection, use the Ctrl+N keystroke in normal mode, followed by a motion:
|
||||
|
@ -369,16 +369,16 @@ let g:multi_cursor_prev_key = '<C-p>'
|
|||
let g:multi_cursor_skip_key = '<C-x>'
|
||||
let g:multi_cursor_quit_key = '<Esc>'
|
||||
|
||||
"}}}
|
||||
|
||||
|
||||
|
||||
" VIM-LIGHTLINE --------------------------------------------------------- {{{
|
||||
" VIM-LIGHTLINE ---------------------------------------------------------
|
||||
" https://github.com/itchyny/lightline.vim
|
||||
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'wombat',
|
||||
\ }
|
||||
|
||||
" }}}
|
||||
"
|
||||
"
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@ d:/home/dado/Downloads
|
|||
f:/home/dado/Downloads/Film
|
||||
g:/home/dado/git
|
||||
h:/home/dado
|
||||
m:/media/dado
|
||||
m:/home
|
||||
w:/home/dado/git/mywiki
|
||||
|
|
Loading…
Reference in New Issue