From c25e35d5a87506fb4c6df08adb8ae8ea1e6f877e Mon Sep 17 00:00:00 2001 From: ladro Date: Wed, 22 May 2019 09:50:56 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20du=20r=C3=A9pertoire=20conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/.tmux.conf | 17 ++++++++++++ conf/.tmuxline.tmux.conf | 28 +++++++++++++++++++ conf/.vimrc | 59 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 conf/.tmux.conf create mode 100644 conf/.tmuxline.tmux.conf create mode 100644 conf/.vimrc diff --git a/conf/.tmux.conf b/conf/.tmux.conf new file mode 100644 index 0000000..bde778f --- /dev/null +++ b/conf/.tmux.conf @@ -0,0 +1,17 @@ +# use PREFIX | to split window horizontally and PREFIX - to split vertically +bind | split-window -h +bind - split-window -v + +source-file .tmuxline.tmux.conf +# ---------------------- +# Status Bar +# ----------------------- +## Status bar design +## status line +set -g status-justify left +set -g status-bg default +set -g status-fg colour12 +set -g status-interval 2 +set-option -g status on # turn the status bar on +set -g status-justify centre # center window list for clarity +# set-option -g status-position top # position the status bar at top of screen diff --git a/conf/.tmuxline.tmux.conf b/conf/.tmuxline.tmux.conf new file mode 100644 index 0000000..e754b06 --- /dev/null +++ b/conf/.tmuxline.tmux.conf @@ -0,0 +1,28 @@ +# This tmux statusbar config was created by tmuxline.vim +# on Mer, 04 jan 2017 + +set -g status-bg "colour17" +set -g message-command-fg "colour255" +set -g status-justify "left" +set -g status-left-length "100" +set -g status "on" +set -g pane-active-border-fg "colour45" +set -g message-bg "colour27" +set -g status-right-length "100" +set -g status-right-attr "none" +set -g message-fg "colour255" +set -g message-command-bg "colour27" +set -g status-attr "none" +set -g pane-border-fg "colour27" +set -g status-left-attr "none" +setw -g window-status-fg "colour15" +setw -g window-status-attr "none" +setw -g window-status-activity-bg "colour17" +setw -g window-status-activity-attr "none" +setw -g window-status-activity-fg "colour45" +setw -g window-status-separator "" +setw -g window-status-bg "colour17" +set -g status-left "#[fg=colour17,bg=colour45] #S #[fg=colour45,bg=colour17,nobold,nounderscore,noitalics]" +set -g status-right "#[fg=colour27,bg=colour17,nobold,nounderscore,noitalics]#[fg=colour255,bg=colour27] %Y-%m-%d  %H:%M #[fg=colour45,bg=colour27,nobold,nounderscore,noitalics]#[fg=colour17,bg=colour45] #h " +setw -g window-status-format "#[fg=colour15,bg=colour17] #I #[fg=colour15,bg=colour17] #W " +setw -g window-status-current-format "#[fg=colour17,bg=colour27,nobold,nounderscore,noitalics]#[fg=colour255,bg=colour27] #I #[fg=colour255,bg=colour27] #W #[fg=colour27,bg=colour17,nobold,nounderscore,noitalics]" diff --git a/conf/.vimrc b/conf/.vimrc new file mode 100644 index 0000000..d6893e3 --- /dev/null +++ b/conf/.vimrc @@ -0,0 +1,59 @@ +set nocompatible " be iMproved, required +filetype off " required + +" 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 'VundleVim/Vundle.vim' + +" The following are examples of different formats supported. +" Keep Plugin commands between vundle#begin/end. +" nerdtree +Plugin 'scrooloose/nerdtree' +" plugin vim airline +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' +" plugin on GitHub repo +Plugin 'tpope/vim-fugitive' +" plugin from http://vim-scripts.org/vim/scripts.html +Plugin 'L9' +" The sparkup vim script is in a subdirectory of this repo called vim. +" Pass the path to set the runtimepath properly. +Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} +" plugin lightline +Plugin 'itchyny/lightline.vim' + +Bundle 'edkolev/tmuxline.vim' + +Bundle 'edkolev/promptline.vim' + +Bundle 'tpope/vim-surround' + +" All of your Plugins must be added before the following line +call vundle#end() " required +filetype plugin indent on " required +" To ignore plugin indent changes, instead use: +"filetype plugin on +" +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal +" +" see :h vundle for more details or wiki for FAQ +" Put your non-Plugin stuff after this line +let g:airline_theme='wombat' + +set laststatus=2 +let g:airline_powerline_fonts = 1 +let g:airline#extensions#tmuxline#enabled = 0 +set t_Co=256 + +" map Ctrl+C for nerdTree +map :NERDTreeToggle +