adding base server dotfiles
This commit is contained in:
commit
8484c97f8d
|
@ -0,0 +1 @@
|
|||
Subproject commit d2d5155d41cbe183ef172fef1e83a29d116a5af6
|
|
@ -0,0 +1,4 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhistcnt =2
|
||||
let g:netrw_dirhist_2='/root/docker/qbittorrent/config/qBittorrent/config'
|
||||
let g:netrw_dirhist_1='/mnt/sd/Movies'
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 5548a1a937d4e72606520c7484cd384e6c76b565
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d6a07ea376a4b7372aa59e7ea6a051c9470bb4d0
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 65f4225e0526516a67d56c8ac09925a209138e53
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 1a8ba866f3eaf0194783b9f8573339d6ede8f1ed
|
|
@ -0,0 +1,67 @@
|
|||
set nohlsearch
|
||||
set relativenumber
|
||||
set nocompatible
|
||||
set smartindent
|
||||
filetype plugin on
|
||||
syntax on
|
||||
vmap <C-c> "+yi
|
||||
vmap <C-x> "+c
|
||||
vmap <C-v> c<ESC>"+p
|
||||
imap <C-v> <C-r><C-o>+
|
||||
|
||||
let g:NERDTreeWinPos = "left"
|
||||
set tabstop=4
|
||||
set backspace=indent,eol,start
|
||||
|
||||
command WQ wq
|
||||
command Wq wq
|
||||
command W w
|
||||
command Q q
|
||||
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
Plugin 'itchyny/lightline.vim'
|
||||
Plugin 'itchyny/vim-gitbranch'
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
Plugin 'dracula/vim'
|
||||
call vundle#end()
|
||||
|
||||
color dracula
|
||||
|
||||
""" =====> Lightline
|
||||
set laststatus=2
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'one',
|
||||
\ 'active': {
|
||||
\ 'left': [ ['mode','paste'],
|
||||
\ ['gitbranch', 'readonly', 'filename', 'modified'] ]
|
||||
\ },
|
||||
\ 'component_function': {
|
||||
\ 'gitbranch': 'fugitive#head'
|
||||
\ },
|
||||
\}
|
||||
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'one',
|
||||
\ 'active': {
|
||||
\ 'left': [ ['mode', 'paste'],
|
||||
\ ['fugitive', 'readonly', 'filename', 'modified'] ],
|
||||
\ 'right': [ [ 'lineinfo' ], ['percent'] ]
|
||||
\ },
|
||||
\ 'component': {
|
||||
\ 'readonly': '%{&filetype=="help"?"":&readonly?"🔒":""}',
|
||||
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}',
|
||||
\ 'fugitive': '%{exists("*fugitive#head")?fugitive#head():""}'
|
||||
\ },
|
||||
\ 'component_visible_condition': {
|
||||
\ 'readonly': '(&filetype!="help"&& &readonly)',
|
||||
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))',
|
||||
\ 'fugitive': '(exists("*fugitive#head") && ""!=fugitive#head())'
|
||||
\ },
|
||||
\ 'separator': { 'left': ' ', 'right': ' ' },
|
||||
\ 'subseparator': { 'left': ' ', 'right': ' ' }
|
||||
\ }
|
||||
|
||||
if !has('gui_running')
|
||||
set t_Co=256
|
||||
endif
|
|
@ -0,0 +1,58 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="agnoster"
|
||||
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git docker docker-compose zsh-autosuggestions)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
Loading…
Reference in New Issue