Myself dotfiles
note: Continuous updating!
DaiDai's dotfiles
is a configuration file that creates a (C++ / C, Python, AI)development environment with just one line of command.
vim plug-in manager tool is Vundle. include bashic tool zsh, tmux, vim, ssh, sshfs, tree, autojump
cd ~; git clone -b master https://github.com/daidai21/dotfiles && sudo ./dotfiles/install.sh
folder/
: not in ~/folder/
, this is a temp folder.
hosts
: in /etc/
, config realm name and IPapt.conf
in /etc/apt/
, config global proxysources.list
in /etc/apt/
, config apt source.kaggle/kaggle.json
, kaggle shell tool used download dataset.Dockerfile
, build basic ubuntu imagesPreferences.sublime-settings
is simple config file in sublime text2, no usage plugin.git config core.fileMode false
git config --global core.fileMode false
zsh # using oh-my-zsh
Ctrl + x
tmux (new -s session_name -n window_name)
create a new sessiontmux ^x d
sign out and savetmux a -t session_name)
get into named tmp sessiontmux ls
show all session_nametmux kill-session -t session_name
kill tmp sessionprefix n
next windowprefix p
previous windowprefix c
create a new windowprefix ,
rename current windowprefix %
vertical splitprefix "
horizontal splitprefix z
maximize pane / recoveryprefix(hold) + direction key
adjust window pane sizeprefix x
close current paneshift mouse-right
+ click copy
copyF9
open / close small map
F2
open / close catalog
switch windows
ctrl w direction
switch widnows:sp file_name
upper and lower segmentation windows
:vs file_name
horizontal segmentation
switch file buf
:bn
next file:bp
previous windows:bn
switch to the n
th filesctrl 6
switch fileswitch window tab
gt
previous windowgT
next window:tabe file_name
open a new window:tabc
close windowsshift z z
save file and fast quit
just font size
ctrl -
size small, ctrl shift +
size bigadjust windows size
F5
small, F6
bigF7
small, F8
bigfast copy paste
yy
fast copy one linep
fast paste one lineauto complete
ctrl p
open auto completectrl s
stop screen output
ctrl q
recovery screen output
:set fileformat=unix
or :set ff=unix
change windows file format to linux/mac file format.
:start_lines,end_lines>
indet
:start_lines,end_lines<
retract Ctrl + d
:terminal
Command mode
G
go file endgg
go file headdd
delete current linendd
delete from current line to n next lineyy
copy current linenyy
copy from current line to n next linep
paste in next lineP
paste in previous lineu
return previous stepctrl r
return next step.
repeat previous operatorLast line mode
:n1,n2s/word1/word2/g
from n1 to n2 change word1 to word2:%s/word1/word2/g
change word1 to word2 in all fileblock selection mode ctrl + v
shift + i
, input insert content, then Esc Esc
d
, then Esc Esc
auto jump
fast to appoint name file
jc filename
tree
see file tree
tree filename
trash
man
cman
pip install xxx -i source_url
阿里云 https://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
wget -e "http_proxy=http://127.0.0.1:8080" url
supervisor
sudo apt-get install conky
killall conky
For learning or personal user use only, all remaining rights reserved by individuals.Github@daidai21