Last active
June 3, 2022 10:19
-
-
Save jirikuncar/fd86e471ad51e56400b669415e9007d4 to your computer and use it in GitHub Desktop.
.dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# Path to the bash it configuration | |
export BASH_IT="${HOME}/.bash_it" | |
# Lock and Load a custom theme file. | |
# Leave empty to disable theming. | |
# location /.bash_it/themes/ | |
export BASH_IT_THEME='powerline' | |
# (Advanced): Change this to the name of your remote repo if you | |
# cloned bash-it with a remote other than origin such as `bash-it`. | |
# export BASH_IT_REMOTE='bash-it' | |
# Your place for hosting Git repos. I use this for private repos. | |
export GIT_HOSTING='[email protected]' | |
# Don't check mail when opening terminal. | |
unset MAILCHECK | |
# Change this to your console based IRC client of choice. | |
export IRC_CLIENT='irssi' | |
# Set this to the command you use for todo.txt-cli | |
export TODO="t" | |
# Set this to false to turn off version control status checking within the prompt for all themes | |
export SCM_CHECK=true | |
# Set Xterm/screen/Tmux title with only a short hostname. | |
# Uncomment this (or set SHORT_HOSTNAME to something else), | |
# Will otherwise fall back on $HOSTNAME. | |
export SHORT_HOSTNAME=$(hostname -s) | |
# Set Xterm/screen/Tmux title with only a short username. | |
# Uncomment this (or set SHORT_USER to something else), | |
# Will otherwise fall back on $USER. | |
#export SHORT_USER=${USER:0:8} | |
# Set Xterm/screen/Tmux title with shortened command and directory. | |
# Uncomment this to set. | |
export SHORT_TERM_LINE=true | |
# Set vcprompt executable path for scm advance info in prompt (demula theme) | |
# https://github.com/djl/vcprompt | |
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt | |
# (Advanced): Uncomment this to make Bash-it reload itself automatically | |
# after enabling or disabling aliases, plugins, and completions. | |
export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1 | |
# Uncomment this to make Bash-it create alias reload. | |
# export BASH_IT_RELOAD_LEGACY=1 | |
# Load Bash It | |
source "$BASH_IT"/bash_it.sh | |
# FIXME | |
export LANG=en_US.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitignore_global | |
[url "[email protected]:"] | |
insteadOf = https://github.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g mouse on | |
set -g @shell_mode 'vi' | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'christoomey/vim-tmux-navigator' | |
set -g @plugin 'nhdaly/tmux-better-mouse-mode' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @plugin 'jbnicolai/tmux-fpp' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'jimeh/tmux-themepack' | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin '[email protected]/user/plugin' | |
# set -g @plugin '[email protected]/user/plugin' | |
# Configuration | |
set -g @themepack 'powerline/double/blue' | |
set -g default-terminal "screen-256color" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run -b '~/.tmux/plugins/tpm/tpm' | |
set -g base-index 1 | |
setw -g pane-base-index 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " required | |
filetype off " required | |
set encoding=utf-8 | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'tmux-plugins/vim-tmux' | |
Plugin 'christoomey/vim-tmux-navigator' | |
Plugin 'editorconfig/editorconfig-vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
" Plugin 'dense-analysis/ale' | |
Plugin 'ervandew/supertab' | |
Plugin 'davidhalter/jedi-vim' | |
Plugin 'janko/vim-test' | |
Plugin 'tomasr/molokai' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'zhimsel/vim-stay' | |
Plugin 'sotte/presenting.vim' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
let g:SimpylFold_docstring_preview=1 | |
map <C-n> :NERDTreeToggle<CR> | |
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
nmap <F8> :TagbarToggle<CR> | |
let g:ycm_autoclose_preview_window_after_completion=1 | |
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR> | |
"au BufNewFile,BufRead *.py set tabstop=4 set softtabstop=4 set shiftwidth=4 set textwidth=79 set expandtab set autoindent set fileformat=unix | |
"au BufNewFile,BufRead *.js, *.html, *.css set tabstop=2 set softtabstop=2 set shiftwidth=2 | |
let python_highlight_all=1 | |
set nu | |
set clipboard=unnamed | |
" Fix backspace | |
set bs=2 | |
let g:rehash256 = 1 | |
syntax enable | |
set background=dark | |
colorscheme molokai | |
" ALE configuration | |
" let g:ale_completion_enabled=1 | |
" set omnifunc=ale#completion#OmniFunc | |
" JEDI | |
autocmd FileType python setlocal completeopt-=preview | |
" Airline | |
let g:airline_powerline_fonts = 1 | |
" Testing | |
nmap <silent> t<C-n> :TestNearest<CR> | |
nmap <silent> t<C-f> :TestFile<CR> | |
nmap <silent> t<C-s> :TestSuite<CR> | |
nmap <silent> t<C-l> :TestLast<CR> | |
nmap <silent> t<C-g> :TestVisit<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment