Skip to content

Instantly share code, notes, and snippets.

@pablospe
pablospe / cVimrc
Last active January 23, 2016 11:37
cVim Options
let barposition = "top"
" Scroll
set smoothscroll
let scrollstep = 70
let scrollduration = 45
let locale = "us"
let hintcharacters = "abcde123456grstqwxz"
"set noautofocus " The opposite of autofocus; this setting stops
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar {
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, monospace, Arial;
font-size: 10pt !important;
-webkit-font-smoothing: antialiased !important;
}
#cVim-link-container {
position: absolute;
pointer-events: none;
width: 100%; left: 0;
" save and close
map ,w :wq<enter>
map <C-space> :wq<enter>
" close
map ,1 :q!<enter>
map ,q :q<enter>
" navigation
map j gj
@pablospe
pablospe / test_detectCheckerboardPoints.m
Created July 4, 2016 14:54
detectCheckerboardPoints
close all
clearvars
% detectCheckerboardPoints function was introduced in R2014a
if exist('detectCheckerboardPoints', 'file')
% One image
figure(1)
I = imread( fullfile(matlabroot, 'toolbox', 'vision',...
'visiondata','calibration','webcam','image1.tif') );
imagesc(I);
@pablospe
pablospe / Vim Vixen
Created July 23, 2018 12:13
Vim Vixen configuration
{
"keymaps": {
"0": {
"type": "scroll.home"
},
":": {
"type": "command.show"
},
"o": {
"type": "command.show.open",
// navigation - back/fordward
api.map("<Alt-a>", "S");
api.unmap('<Alt-s>'); // disable suspend with Atl+s
api.map("<Alt-s>", "D");
// remove mapkey alt-i
api.unmap('<atl-i>');
// If you would like to use original pdf viewer provided by Chrome itself, use ;s to toggle that.
@pablospe
pablospe / keys_user.config
Created March 6, 2024 10:00
.config/sioyek/keys_user.config
# Vim navigation.
move_left l
move_right h
goto_top_of_page H
goto_bottom_of_page L
next_page <right>
previous_page <left>
screen_down <C-d>
screen_up <C-u>