added new config files

This commit is contained in:
piccihud
2023-09-02 13:54:58 +02:00
parent 7b026897fe
commit e36bdb347a
15 changed files with 43 additions and 35 deletions

View File

@ -195,5 +195,5 @@ if [[ $- =~ .*i.* ]]; then bind '"\C-xk": "\C-a hstr -k \C-j"'; fi
export EDITOR='vim' export EDITOR='vim'
export VISUAL='vim' export VISUAL='vim'
set -o vi #set -o vi
#set show-mode-in-prompt on #set show-mode-in-prompt on

View File

@ -1,8 +1,8 @@
#"\e[5~": history-search-backward "\e[5~": history-search-backward
#"\e[6~": history-search-forward "\e[6~": history-search-forward
set editing-mode vi #set editing-mode vi
set show-mode-in-prompt on #set show-mode-in-prompt on
# SET THE MODE STRING AND CURSOR TO INDICATE THE VIM MODE # SET THE MODE STRING AND CURSOR TO INDICATE THE VIM MODE
# FOR THE NUMBER AFTER `\e[`: # FOR THE NUMBER AFTER `\e[`:
@ -13,14 +13,14 @@ set show-mode-in-prompt on
# 4: steady underline # 4: steady underline
# 5: blinking bar (xterm) # 5: blinking bar (xterm)
# 6: steady bar (xterm) # 6: steady bar (xterm)
set vi-ins-mode-string (ins)\1\e[5 q\2 #set vi-ins-mode-string (ins)\1\e[5 q\2
set vi-cmd-mode-string (cmd)\1\e[1 q\2 #set vi-cmd-mode-string (cmd)\1\e[1 q\2
# #
$if mode=vi #$if mode=vi
set keymap vi-command #set keymap vi-command
"k": history-substring-search-backward #"k": history-substring-search-backward
"j": history-substring-search-forward #"j": history-substring-search-forward
# #
set keymap vi-insert #set keymap vi-insert
"\C-l": clear-screen #"\C-l": clear-screen
$endif #$endif

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -760,7 +760,7 @@ image_source="auto"
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, # Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant. # postmarketOS, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants. # Use '{distro name}_small' to use the small variants.
ascii_distro="tux" ascii_distro="Devuan"
# Ascii Colors # Ascii Colors
# #

View File

@ -1,5 +1,5 @@
ext css|md|conf|txt|sh = vim "$@" ext css|md|conf|txt|sh = vim "$@"
ext ogv|mp4|avi|mkv|ogg = mpv "$@" ext ogv|mp3|mp4|avi|mkv|ogg = mpv "$@"
ext pdf|epub = okular "$@" ext pdf|epub = okular "$@"
ext png|jpg = feh "$@" ext png|jpg = feh "$@"
ext cb[zr] = qcomicbook "$@" ext cb[zr] = qcomicbook "$@"

View File

@ -9,15 +9,16 @@
0 9,21,22 * * * pg_dump cinema > ~/Nextcloud/Database/db.sql 0 9,21,22 * * * pg_dump cinema > ~/Nextcloud/Database/db.sql
#0 9,20 * * * nice -n 19 clamscan -ir $HOME --log=clamavlog.txt --move=$HOME/quarantine/ 2>&1 #0 9,20 * * * nice -n 19 clamscan -ir $HOME --log=clamavlog.txt --move=$HOME/quarantine/ 2>&1
0 22 * * * /usr/bin/rsync -az --delete --exclude=Nextcloud ~/ /media/davide/Backup/Desktop/ && date >> ~/backup.log 0 22 * * * /usr/bin/rsync -az --delete --exclude=Nextcloud --exclude='VirtualBox VMs' ~/ /media/davide/Backup/Desktop/ && date >> ~/backup.log
0 9,15,20 * * * rsync -aPz ~/.bashrc ~/Documenti/repos/mywiki/linux/bash/bashrc 0 9,15,20 * * * rsync -az ~/.bashrc ~/Documenti/repos/mywiki/linux/bash/bashrc
0 9,15,20 * * * rsync -aPz ~/.inputrc ~/Documenti/repos/mywiki/linux/bash/inputrc 0 9,15,20 * * * rsync -az ~/.inputrc ~/Documenti/repos/mywiki/linux/bash/inputrc
0 9,15,20 * * * rsync -aPz ~/.config/alacritty/alacritty.yml ~/Documenti/repos/mywiki/linux/alacritty/alacritty.yml 0 9,15,20 * * * rsync -az ~/.config/alacritty/alacritty.yml ~/Documenti/repos/mywiki/linux/alacritty/alacritty.yml
0 9,15,20 * * * rsync -aPz ~/.config/feh/ ~/Documenti/repos/mywiki/linux/feh/ 0 9,15,20 * * * rsync -az ~/.config/feh/ ~/Documenti/repos/mywiki/linux/feh/
0 9,15,20 * * * rsync -aPz ~/.config/neofetch/ ~/Documenti/repos/mywiki/linux/neofetch/ 0 9,15,20 * * * rsync -az ~/.config/neofetch/ ~/Documenti/repos/mywiki/linux/neofetch/
0 9,15,20 * * * rsync -aPz ~/.config/ranger/ ~/Documenti/repos/mywiki/linux/ranger/ 0 9,15,20 * * * rsync -az ~/.config/ranger/ ~/Documenti/repos/mywiki/linux/ranger/
0 9,15,20 * * * rsync -aPz ~/.config/rnr/ ~/Documenti/repos/mywiki/linux/rnr/ 0 9,15,20 * * * rsync -az ~/.config/rnr/ ~/Documenti/repos/mywiki/linux/rnr/
0 9,15,20 * * * rsync -aPz ~/.vimrc ~/Documenti/repos/mywiki/linux/vim/vimrc 0 9,15,20 * * * rsync -az ~/.vimrc ~/Documenti/repos/mywiki/linux/vim/vimrc
0 9,15,20 * * * rsync -aPz ~/.xbindkeysrc /home/davide/Documenti/repos/mywiki/linux/xbindkeys/xbindkeysrc 0 9,15,20 * * * rsync -az ~/.xbindkeysrc /home/davide/Documenti/repos/mywiki/linux/xbindkeys/xbindkeysrc
0 9,15,20 * * * rsync -aPz ~/.tmux.conf /home/davide/Documenti/repos/mywiki/linux/tmux/tmux.conf 0 9,15,20 * * * rsync -az ~/.tmux.conf /home/davide/Documenti/repos/mywiki/linux/tmux/tmux.conf
0 9,15,22 * * * rsync -az ~/Sync/Task/🎲ToDo.org ~/Nextcloud/Notes/
0 9,15,20 * * * crontab -l > ~/Documenti/repos/mywiki/linux/script/crontab 0 9,15,20 * * * crontab -l > ~/Documenti/repos/mywiki/linux/script/crontab

View File

@ -2,7 +2,12 @@
packadd! dracula packadd! dracula
colorscheme dracula colorscheme dracula
" transparent bg set completeopt=longest,menuone
setlocal complete+=k
set dictionary+=/home/davide/.vim/dict/dict_it.txt
set wrap
set linebreak
set expandtab
autocmd vimenter * hi Normal guibg=NONE ctermbg=NONE autocmd vimenter * hi Normal guibg=NONE ctermbg=NONE
set spell spelllang=it,en set spell spelllang=it,en
syntax on " Enable type file detection. Vim will be able to try to detect the type of file in use. syntax on " Enable type file detection. Vim will be able to try to detect the type of file in use.
@ -30,23 +35,22 @@ set relativenumber
set clipboard=unnamedplus set clipboard=unnamedplus
set cursorline " Highlight cursor line underneath the cursor horizontally. set cursorline " Highlight cursor line underneath the cursor horizontally.
set nobackup " Do not save backup files. set nobackup " Do not save backup files.
set nowrap " Do not wrap lines. Allow long lines to extend as far as the line goes.
set incsearch " While searching though a file incrementally highlight matching characters as you type. set incsearch " While searching though a file incrementally highlight matching characters as you type.
set ignorecase " Ignore capital letters during search. set ignorecase " Ignore capital letters during search.
set smartcase " This will allow you to search specifically for capital letters. set smartcase " This will allow you to search specifically for capital letters.
set showmode " Show the mode you are on the last line. set showmode " Show the mode you are on the last line.
set showmatch " Show matching words during a search. set showmatch " Show matching words during a search.
set hlsearch " Use highlighting when doing a search.
set wildmenu " Enable auto completion menu after pressing TAB. set wildmenu " Enable auto completion menu after pressing TAB.
set wildmode=list:longest " Make wildmenu behave like similar to Bash completion. set wildmode=list:longest " Make wildmenu behave like similar to Bash completion.
set foldenable set foldenable
set foldmethod=indent set foldmethod=indent
set ttyfast " Speed up scrolling in Vim set ttyfast " Speed up scrolling in Vim
set encoding=UTF-8 set encoding=UTF-8
set nobackup " Neoclide "set nowritebackup
set nowritebackup
set updatetime=300 set updatetime=300
set signcolumn=yes set signcolumn=yes
set smarttab "la tabulazione viene eseguita in automatico in modo intelligente
set tabstop=8 "imposta il valore della tabulazione (solitamente viene cosigliato 4 o 8)
" }}} " }}}
@ -61,6 +65,8 @@ Plugin 'VundleVim/Vundle.vim'
" "
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
" "
"Plugin 'lifepillar/vim-mucomplete'
Plugin 'neoclide/coc.nvim', {'branch': 'release'} Plugin 'neoclide/coc.nvim', {'branch': 'release'}
Plugin 'itchyny/vim-cursorword' Plugin 'itchyny/vim-cursorword'
Plugin 'preservim/nerdtree' Plugin 'preservim/nerdtree'
@ -73,7 +79,6 @@ Plugin 'frazrepo/vim-rainbow'
Plugin 'mg979/vim-visual-multi', {'branch': 'master'} Plugin 'mg979/vim-visual-multi', {'branch': 'master'}
Plugin 'itchyny/lightline.vim' Plugin 'itchyny/lightline.vim'
Plugin 'voldikss/vim-floaterm' Plugin 'voldikss/vim-floaterm'
Bundle 'https://github.com/prashanthellina/follow-markdown-links'
Plugin 'mracos/mermaid.vim' Plugin 'mracos/mermaid.vim'
Plugin 'mzlogin/vim-markdown-toc' Plugin 'mzlogin/vim-markdown-toc'
Plugin 'bbrtj/vim-vorg-md' Plugin 'bbrtj/vim-vorg-md'
@ -111,8 +116,10 @@ augroup END
" PREDICTIVE ------------------------------------------------------------- {{{ " PREDICTIVE ------------------------------------------------------------- {{{
" "
let g:predictive#dict_path = expand($HOME . '/dict') " https://www.reddit.com/r/vim/comments/12qezjf/english_dictionary_autocompletion/?rdt=55684
let g:predictive#disable_plugin = 0 "let g:mucomplete#enable_auto_at_startup = v:true
"let g:mucomplete#chains = #{default: ['dict']}
"set dictionary=/home/davide/.vim/dict/dict_it.txt
" "
" }}} " }}}