diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index bc738be..b155208 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -6,7 +6,7 @@ window: x: 3 y: 3 decorations: none - start_maximized: true + startup_mode: SimpleFullscreen tabspaces: 4 draw_bold_text_with_bright_colors: true font: diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e4ade25..8f07719 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -23,8 +23,12 @@ set -g window-status-style fg=colour244,bg=default set -g window-status-current-style fg=colour166,bg=default set -g message-style fg=colour166,bg=colour235 -set -g window-status-format " #W " -set -g window-status-current-format " #W " +# set -g window-status-format " #W " +# set -g window-status-current-format " #W " + +set -g window-status-format " ━━━ " +set -g window-status-current-format " ━━━ " + set -g status-left '' set -g status-right '' diff --git a/vim/.vimrc b/vim/.vimrc index f9cca3c..2e5f2c7 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -18,7 +18,7 @@ set fileencoding=utf-8 " History length set history=1000 -" Remap the to , +" Remap the to nnoremap let mapleader=' ' @@ -64,6 +64,7 @@ Plug 'terryma/vim-expand-region' Plug 'terryma/vim-multiple-cursors' Plug 'bogado/file-line' Plug 'vim-utils/vim-interruptless' +Plug 'w0rp/ale' " ======== Snippets & Autocomplete ====================== @@ -89,9 +90,9 @@ Plug 'tpope/vim-vinegar' " ======== Experimental ================================= -Plug 'w0rp/ale' Plug 'iamcco/markdown-preview.nvim', \ { 'do': ':call mkdp#util#install()', 'for': 'markdown', 'on': 'MarkdownPreview' } +Plug 'AndrewRadev/switch.vim' call plug#end() @@ -256,6 +257,12 @@ let g:UltiSnipsExpandTrigger = '' let g:UltiSnipsJumpForwardTrigger = '' let g:UltiSnipsJumpBackwardTrigger = '' +" --- scratch + +" let g:scratch_persistence_file = '~/iCloud/Notebook/index.md' +" let g:scratch_no_mappings = 1 + + " --- gitgutter let g:gitgutter_sign_added = '│' @@ -360,7 +367,7 @@ if has("autocmd") au filetype help nnoremap au filetype help set nonumber - au filetype markdown nnoremap :MarkdownPreview + " au filetype markdown nnoremap :MarkdownPreview au BufNewFile,BufRead Capfile,Gemfile,Vagrantfile setl ft=ruby au BufNewFile,BufRead *.rabl,*.jbuilder setl ft=ruby @@ -590,17 +597,18 @@ nnoremap ,, nnoremap f (expand('%') =~ 'NERD_tree' ? "\\" : '').":Files\" nnoremap b (expand('%') =~ 'NERD_tree' ? "\\" : '').":Buffers\" -nnoremap s (expand('%') =~ 'NERD_tree' ? "\\" : '').":Snippets\" +nnoremap s :Switch nnoremap x :ALEFix nnoremap n :NERDTreeToggle +nnoremap N :NERDTreeFind nnoremap c /\v^[<=>]{7}( .*\|$) nnoremap t :tabnew nnoremap d orequire 'pry'; binding.pry -nnoremap D Orequire 'pry'; binding.pry +nnoremap D oit { require 'pry'; binding.pry } nnoremap r :TestFile nnoremap R :TestSuite -nnoremap j :%!python -m json.tool +nnoremap J :%!python -m json.tool nnoremap w :w nnoremap e :e! nnoremap = = @@ -689,13 +697,5 @@ nnoremap K " K reverse of J " nnoremap K fr -if exists('$TMUX') - let &t_SI = "\Ptmux;\\]50;CursorShape=1\x7\\\" - let &t_EI = "\Ptmux;\\]50;CursorShape=0\x7\\\" -else - let &t_SI = "\]50;CursorShape=1\x7" - let &t_EI = "\]50;CursorShape=0\x7" -endif - " replace the word under the cursor nnoremap S :%s/\<\>//g