Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
- gcc
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
Install the following packages using pacman -S package-name:
| function! MyFoldText() " {{{ | |
| let line = getline(v:foldstart) | |
| let nucolwidth = &fdc + &number * &numberwidth | |
| let windowwidth = winwidth(0) - nucolwidth - 3 | |
| let foldedlinecount = v:foldend - v:foldstart | |
| " expand tabs into spaces | |
| let onetab = strpart(' ', 0, &tabstop) | |
| let line = substitute(line, '\t', onetab, 'g') |
| inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a | |
| function! s:align() | |
| let p = '^\s*|\s.*\s|\s*$' | |
| if exists(':Tabularize') && getline('.') =~# '^\s*|' && (getline(line('.')-1) =~# p || getline(line('.')+1) =~# p) | |
| let column = strlen(substitute(getline('.')[0:col('.')],'[^|]','','g')) | |
| let position = strlen(matchstr(getline('.')[0:col('.')],'.*|\s*\zs.*')) | |
| Tabularize/|/l1 | |
| normal! 0 | |
| call search(repeat('[^|]*|',column).'\s\{-\}'.repeat('.',position),'ce',line('.')) |