compiling for 32bit in 64bit linuxFor 32 bit version :
gcc -m32 -o output32 hello.cFor 64 bit version :
gcc -m64 -o output64 hello.c Tips and tutorials on Wi-Fi(802.11), Windows, Linux, PHP, MySQL, Codeigniter, Android
compiling for 32bit in 64bit linux gcc -m32 -o output32 hello.c gcc -m64 -o output64 hello.c :set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] To make these settings permanent every time you open vim In the ~/.vimrc file inserts the below two lines. So if you want it in very user,
you have to edit the vimrc file in the /home/username/.vimrc .
If the vimrc file is not there you can create one
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
set laststatus=2
5. Highlighting search matches in vim
set hlsearch , also add it in the ~/.vimrc file
set incsearch . If you set the 'incsearch' option, Vim will show the first
match for the pattern, while you are still typing it.
6. Indenting for C style
Type the below comamnd or save it in the ~/.vimrc file
set autoindent set cindent
To indent two spaces (instead of one tab of eight spaces, the vim default): set shiftwidth=2
Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...