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
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#define BUFFER_SIZE 10 | |
/* | |
* If you desire track the mouse, active and desactive the mouse tracking. | |
* | |
* write(STDOUT_FILENO, "\e[?9h", 5); // active |
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
import re, sys, termios, tty | |
def getpos(): | |
buff = '' | |
stdin = sys.stdin.fileno() | |
tattr = termios.tcgetattr(stdin) | |
try: | |
tty.setcbreak(stdin, termios.TCSANOW) | |
sys.stdout.write('\033[6n') |
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
-- General -- | |
lvim.colorscheme = 'nord' | |
lvim.transparent_window = true | |
lvim.builtin.nvimtree.setup.view.side = 'right' | |
-- Restore cursor when close vim | |
vim.api.nvim_create_autocmd('VimLeave', { |
NewerOlder