Skip to content

Instantly share code, notes, and snippets.

View fmoralesc's full-sized avatar

Felipe Morales fmoralesc

  • Leuven, Belgium
View GitHub Profile
@fmoralesc
fmoralesc / -
Created February 6, 2017 16:35
# Reconstructed via infocmp from file: /usr/share/terminfo/t/tmux-256color
tmux-256color|tmux with 256 colors,
am, hs, km, mir, msgr, xenl,
colors#256, cols#80, it#8, lines#24, pairs#32767,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
times in msec
clock self+sourced self: sourced script
clock elapsed: other lines
000.020 000.020: --- NVIM STARTING ---
000.319 000.299: locale set
000.921 000.602: inits 1
000.938 000.016: window checked
times in msec
clock self+sourced self: sourced script
clock elapsed: other lines
000.013 000.013: --- NVIM STARTING ---
000.266 000.254: locale set
000.850 000.584: inits 1
000.867 000.017: window checked
@fmoralesc
fmoralesc / init.vim
Created February 21, 2016 10:04
.config/nvim/init.vim
" vim: set fdm=marker :
"
" Base {{{1
"
if !exists('$TMUX')
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
set shell=fish
" Base {{{1
"
if has("nvim")
if !exists('$TMUX')
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
set shell=fish
endif
@fmoralesc
fmoralesc / neovim-files.txt
Created August 29, 2015 20:31
neovim files
/usr/bin/
/usr/bin/nvim
/usr/share/licenses/
/usr/share/licenses/neovim-git/
/usr/share/licenses/neovim-git/LICENSE
/usr/share/man/man1/nvim.1.gz
/usr/share/nvim/
/usr/share/nvim/runtime/
/usr/share/nvim/runtime/autoload/
/usr/share/nvim/runtime/autoload/ada.vim
@fmoralesc
fmoralesc / README.md
Last active July 29, 2022 11:50
Custom launcher for neovim in the gnome-terminal.

Custom launcher for neovim in the gnome-terminal.

Instructions

  • Copy nvim-wrapper somewhere in your $PATH
  • Copy neovim.desktop to ~/.local/share/applications (for the current user) or /usr/share/applications (for a global install)
  • Modify the neovim.desktop file to point Icon= and Exec= to the proper paths where the neovim icon and the neovim-wrapper script are
  • Profit!
> neovim git:(fix-resize) gdb ./build/bin/nvim
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
using Gtk;
using Gdk;
using Posix;
enum OperationMode {
GET,
SET
}
enum SelectionKind {
@fmoralesc
fmoralesc / indentuntil.vim
Created January 11, 2015 20:32
indentuntil
function! g:IndentUntil()
let c = getchar()
let indent = stridx(getline(line('.')-1), nr2char(c))
if indent > 0
let c_indent = indent-indent('.')
if c_indent > 0
exe "normal 0i\<space>\<esc>".(c_indent-1)."."
else
let dedent = abs(c_indent)
exe 'substitute/^\s\{'.dedent.'}//'