diff --git a/bashrc b/bashrc index dc68d03..e3900f7 100644 --- a/bashrc +++ b/bashrc @@ -1,3 +1,4 @@ +export PATH="$HOME/bin:$HOME/.local/bin:$PATH" source ~/.profile #source ~/.env @@ -18,14 +19,9 @@ alias du="du -sh" alias df="df -h" alias cp="cp -r" alias :q="exit" - alias ..='cd ..' alias ...='cd ../..' alias .3='cd ../../..' alias .4='cd ../../../..' alias .5='cd ../../../../..' alias .6='cd ../../../../../..' - -alias tofish="chsh -s /bin/fish && echo 'Now log out.'" -alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'" -alias tobash="chsh -s /bin/bash && echo 'Now log out.'" diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 6f29be1..7ee039f 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -1,7 +1,7 @@ [global] monitor = 0 follow = mouse - geometry = "250x50-10+30" + geometry = "250x50-5+30" indicate_hidden = yes shrink = no transparency = 0 diff --git a/config/mc/ini b/config/mc/ini deleted file mode 100644 index bd58391..0000000 --- a/config/mc/ini +++ /dev/null @@ -1,146 +0,0 @@ -[Midnight-Commander] -verbose=true -shell_patterns=true -auto_save_setup=true -preallocate_space=false -auto_menu=false -use_internal_view=true -use_internal_edit=true -clear_before_exec=true -confirm_delete=true -confirm_overwrite=true -confirm_execute=false -confirm_history_cleanup=true -confirm_exit=false -confirm_directory_hotlist_delete=false -confirm_view_dir=false -safe_delete=false -safe_overwrite=false -use_8th_bit_as_meta=false -mouse_move_pages_viewer=true -mouse_close_dialog=false -fast_refresh=false -drop_menus=false -wrap_mode=true -old_esc_mode=true -cd_symlinks=true -show_all_if_ambiguous=false -use_file_to_guess_type=true -alternate_plus_minus=false -only_leading_plus_minus=true -show_output_starts_shell=false -xtree_mode=false -file_op_compute_totals=true -classic_progressbar=true -use_netrc=true -ftpfs_always_use_proxy=false -ftpfs_use_passive_connections=true -ftpfs_use_passive_connections_over_proxy=false -ftpfs_use_unix_list_options=true -ftpfs_first_cd_then_ls=true -ignore_ftp_chattr_errors=true -editor_fill_tabs_with_spaces=false -editor_return_does_auto_indent=true -editor_backspace_through_tabs=false -editor_fake_half_tabs=true -editor_option_save_position=true -editor_option_auto_para_formatting=false -editor_option_typewriter_wrap=false -editor_edit_confirm_save=true -editor_syntax_highlighting=true -editor_persistent_selections=true -editor_drop_selection_on_copy=true -editor_cursor_beyond_eol=false -editor_cursor_after_inserted_block=false -editor_visible_tabs=true -editor_visible_spaces=true -editor_line_state=false -editor_simple_statusbar=false -editor_check_new_line=false -editor_show_right_margin=false -editor_group_undo=false -editor_state_full_filename=false -editor_ask_filename_before_edit=false -nice_rotating_dash=true -mcview_remember_file_position=false -auto_fill_mkdir_name=true -copymove_persistent_attr=true -pause_after_run=1 -mouse_repeat_rate=100 -double_click_speed=250 -old_esc_mode_timeout=1000000 -max_dirt_limit=10 -num_history_items_recorded=60 -vfs_timeout=60 -ftpfs_directory_timeout=900 -ftpfs_retry_seconds=30 -fish_directory_timeout=900 -editor_tab_spacing=8 -editor_word_wrap_line_length=72 -editor_option_save_mode=0 -editor_backup_extension=~ -editor_filesize_threshold=64M -editor_stop_format_chars=-+*\\,.;:&> -mcview_eof= -skin=nicedark - -filepos_max_saved_entries=1024 - -[Layout] -output_lines=0 -left_panel_size=28 -top_panel_size=0 -message_visible=true -keybar_visible=true -xterm_title=true -command_prompt=true -menubar_visible=true -free_space=true -horizontal_split=false -vertical_equal=true -horizontal_equal=true - -[Misc] -timeformat_recent=%b %e %H:%M -timeformat_old=%b %e %Y -ftp_proxy_host=gate -ftpfs_password=anonymous@ -display_codepage=UTF-8 -source_codepage=Other_8_bit -autodetect_codeset= -clipboard_store= -clipboard_paste= - -[Colors] -base_color= -alacritty= -color_terminals= - -xterm-256color= - -[Panels] -show_mini_info=true -kilobyte_si=false -mix_all_files=false -show_backups=true -show_dot_files=true -fast_reload=false -fast_reload_msg_shown=false -mark_moves_down=true -reverse_files_only=true -auto_save_setup_panels=false -navigate_with_arrows=false -panel_scroll_pages=true -panel_scroll_center=false -mouse_move_pages=true -filetype_mode=true -permission_mode=false -torben_fj_mode=false -quick_search_mode=2 -select_flags=6 - -[Panelize] -Find *.orig after patching=find . -name \\*.orig -print -Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print -Find rejects after patching=find . -name \\*.rej -print -Modified git files=git ls-files --modified diff --git a/config/nvim/init.vim b/config/nvim/init.vim index c7338ed..62db85b 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -2,14 +2,14 @@ call plug#begin('~/.vim/plugged') Plug 'itchyny/lightline.vim' Plug 'nathanaelkane/vim-indent-guides' Plug 'Smirnov-O/nten16.vim' - Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' } - Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' } + Plug 'vim-scripts/bclear' Plug 'easymotion/vim-easymotion' Plug 'voldikss/vim-floaterm', { 'on': 'FloatermNew' } Plug 'mhinz/vim-startify' - Plug 'vim-python/python-syntax' Plug 'severin-lemaignan/vim-minimap' Plug 'frazrepo/vim-rainbow' + Plug 'preservim/tagbar', { 'on': 'TagbarToggle' } + Plug 'airblade/vim-gitgutter' " File manger & seacher Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } @@ -21,12 +21,16 @@ call plug#begin('~/.vim/plugged') Plug 'neoclide/coc.nvim', {'branch': 'release'} " Language support + Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' } + Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' } Plug 'pangloss/vim-javascript', { 'for': 'javascript' } Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' } Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' } Plug 'mattn/emmet-vim', { 'on': 'Emmet' } Plug 'Olical/vim-scheme', { 'for': 'scheme' } Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' } + Plug 'vim-python/python-syntax', { 'for': 'python' } + Plug 'vim-scripts/indentpython.vim', { 'for': 'python' } Plug 'dag/vim-fish', { 'for': 'fish' } Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } Plug 'ap/vim-css-color' @@ -35,51 +39,62 @@ call plug#end() set termguicolors set background=dark colorscheme nten16 +set t_Co=256 +" Syntax & line numbars +syntax on set number set relativenumber -syntax on +" Vim status line +set noshowmode set ruler -set t_Co=256 - -set mouse=a -set mousehide - -set encoding=utf-8 -set fileencodings=utf8,cp1251 - -set cursorline - -set nowrap -set nolinebreak - -set nobackup -set noswapfile -set history=100 -set autoread - set showmode set showcmd +" Mouse +set mouse=a +set mousehide +set cursorline + +" File encoding +set encoding=utf-8 +set fileencodings=utf8,cp1251 + +" Line wrap +set nowrap +set nolinebreak + +" Backup files & history +set nobackup +set noswapfile +set history=100 + +" Auto reload file +set autoread + +" Tabs set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set autoindent +" Search set incsearch set ignorecase set smartcase +" Buffer set hidden set smartindent +" Disable sound set visualbell t_vb= " == Plugins configure + " Lightline -set noshowmode let g:lightline = { \ 'colorscheme': 'nten16', \ 'active': { @@ -93,11 +108,11 @@ let g:lightline = { " Nerdtree map :NERDTreeToggle let g:NERDTreeWinPos="right" +let g:NERDTreeWinSize=28 let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store'] let NERDTreeMinimalUI=1 let NERDTreeShowLineNumbers=1 let NERDTreeShowHidden=0 -let g:NERDTreeWinSize=28 " Coc inoremap pumvisible() ? "\" : "\" @@ -140,14 +155,18 @@ let g:startify_lists = [ " Rainbow let g:rainbow_active = 1 -" Minimap -let g:minimap_highlight='Visual' +" TagBar +imap :TagbarToggle +nmap :TagbarToggle +map :TagbarToggle +let g:tagbar_autoclose = 1 +let g:tagbar_width = 18 +let g:tagbar_left = 1 -" Floaterm\ +" Floaterm nmap :FloatermNew --title=vimterminal --position=top --autoclose=2 " == Maping -"imap fd let mapleader="," " Window diff --git a/zshrc b/zshrc index 846ee05..ed1814f 100644 --- a/zshrc +++ b/zshrc @@ -44,14 +44,9 @@ alias cp="cp -r" alias du="du -sh" alias df="df -h" alias icat="kitty +kitten icat" - alias ..="cd .." alias ...="cd ../.." alias .3="cd ../../.." alias .4="cd ../../../.." alias .5="cd ../../../../.." alias .6="cd ../../../../../.." - -alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'" -alias tofish="chsh -s /bin/fish && echo 'Now log out.'" -alias tobash="chsh -s /bin/bash && echo 'Now log out.'"