Last active
February 13, 2018 03:58
-
-
Save arosh/3563719 to your computer and use it in GitHub Desktop.
Ubuntu Serverで最低限追記しておきたい設定
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
alias ls='ls -p --color=auto' | |
alias l='ls' | |
alias ll='ls -lFh' | |
alias la='ls -A' | |
alias lla='ll -A' | |
alias mv='mv -i' | |
alias cp='cp -i' | |
alias rmdir='rm -rf' | |
alias grep='grep --color=auto' | |
alias egrep='grep -E' | |
alias fgrep='grep -F' |
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
$if Bash | |
# メニューを使って補完する | |
TAB: menu-complete | |
# 前方一致履歴補完 | |
"\C-p": history-search-backward | |
"\C-n": history-search-forward | |
# 補完時に大文字小文字を無視 | |
set completion-ignore-case on | |
# ベルを鳴らさない | |
set bell-style none | |
# 候補リストのディレクトリや実行可能ファイルに印をつける | |
set visible-stats on | |
$endif |
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 | |
set number | |
filetype plugin indent on | |
set ts=4 sw=4 sts=4 | |
set expandtab | |
set hlsearch | |
set incsearch | |
set ignorecase | |
set smartcase | |
nmap <ESC><ESC> :<C-u>nohlsearch<CR> | |
set wrapscan | |
set laststatus=2 | |
set statusline=%f%m%r%=\ %Y:%{&fenc}:%{&ff}\ %l/%L\ %p%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment