This file contains hidden or 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
" Jump to first character or last column | |
noremap <silent> L :call FirstCharOrLastCol()<cr> | |
function! FirstCharOrLastCol() | |
let current_col = virtcol('.') | |
normal ^ | |
let first_char = virtcol('.') | |
if current_col >= first_char | |
normal $ | |
endif | |
endfunction |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Author: Benedykt 'b3niup' Przybyło | |
# Date: 2015-07-02 | |
# | |
# Required: curl, scrot, ffmpeg, ffcast (https://github.com/lolilolicon/FFcast) | |
# | |
# Simple script to create gifs and screenshots (depends on out file extension) of selected part of the screen. | |
# |
This file contains hidden or 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
#!/bin/bash | |
### Author: Benedykt 'b3niup' Przybyło | |
USAGE="Usage: ./$0 [options as for regular cp]" | |
#*****************************************************************************# | |
#** Helpers **# |