Programming Tips

JS Yang's Blog


w3m -터미널 웹브라우저by JSYang

활용: vim에서 웹페이지 내용 불러오기 (load web page to vim using w3m)

:r !w3m -dump your-html-file.html

:r !w3m -dump http://www.google.com
Read More

vimrc) git commit 시 글쓰기 영역 폭 정하기by JSYang

git commit 시 글쓰기 영역 폭 정하기.

자신의 .vimrc 파일을 연다.

vi ~/.vimrc

아래 코드를 추가한다.

 set ai
 au FileType gitcommit set tw=72
 filetype indent plugin on
Read More

vim -Install awesome pluginsby JS Yang

  • install vim awesome plugins

« customizing »

How to install the Awesome version?

$git clone git@github.com:reneezll/vimrc ~/.vim_runtime
$sh ~/.vim_runtime/install_awesome_vimrc.sh

« install dirdiff »

  1. Change Directory
cd ~/.vim_runtime
  1. Download dirdiff
wget https://github.com/will133/vim-dirdiff/archive/master.zip
  1. unzip
unzip master.zip

« install taglist »

git clone https://github.com/vim-scripts/taglist.vim.git  ~/.vim_runtime/sources_non_forked/taglist

« original » How to install the Awesome version?

$git clone git://github.com/amix/vimrc.git ~/.vim_runtime
$sh ~/.vim_runtime/install_awesome_vimrc.sh

(Debian: apt-get install ctags)

How to install the Basic version?

$git clone git://github.com/amix/vimrc.git ~/.vim_runtime
$sh ~/.vim_runtime/install_basic_vimrc.sh
Read More

tmux 업그레이드하기by JSYang

  • upgrade tmux

tmux 를 업그레이드 하는 이유는 창 최대화, 최소화 시키기 위해서…

단축키 : ctrl + B + z

Here is the way I did it on Ubuntu 13.04 (Raring Ringtail) and 14.04 (Trusty Tahr):

(source)

sudo add-apt-repository ppa:pi-rho/dev

(freshens the cache/database of packages)

sudo apt-get update

(*optional, shows you available versions, 1.7 & 1.8 should be listed)

sudo apt-cache show tmux
sudo apt-get install tmux
tmux -V
Read More

Thank you,Yitaoby JSYang

Thank you , Yitao.

It’s beautiful theme. :)

Yitao’s Blog(original) : http://simpleyyt.github.io

Read More
Load More…