This file contains 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
require'nvim-treesitter.configs'.setup { | |
highlight = { | |
enable = true, | |
}, | |
incremental_selection = { | |
enable = true, | |
keymaps = { | |
init_selection = "gnn", | |
node_incremental = "<tab>", | |
node_decremental = "<s-tab>", |
This file contains 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
{ | |
"javascript.suggest.enabled": true, | |
"coc.preferences.enableFloatHighlight": true, | |
"coc.preferences.formatOnSaveFiletypes": [ | |
"css", | |
"md", | |
"markdown", | |
"javascript", | |
"typescript", | |
"html", |
This file contains 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
set termguicolors " use terminal colors | |
set number " show line number | |
set ruler " show line and column number of cursor | |
set relativenumber " show lines relative to cursor | |
set cursorline " show a line where the cursor is | |
set clipboard^=unnamed,unnamedplus " use the same clipboard as system | |
" from https://github.com/neoclide/coc.nvim | |
set hidden " hide buffers when abandoned | |
" prevent tsserver from recompiling project on save | |
" https://github.com/neoclide/coc.nvim/issues/649 |
This file contains 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
{ | |
"tsserver.npm": "/home/eder/.npm-global/lib/node_modules", | |
"coc.preferences.hoverTarget": "float", | |
"coc.preferences.enableFloatHighlight": true, | |
"coc.preferences.useQuickfixForLocations": true, | |
"suggest.enablePreview": true, | |
"tsserver.enable": true, | |
"typescript.suggestionActions.enabled": false, | |
"javascript.suggestionActions.enabled": false, | |
"eslint.nodePath": "/home/eder/.npm-global/lib/node_modules", |
This file contains 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
// This file is base is based on https://github.com/vivek3003/flux-redux-migration, with some modifications | |
// for flux's actionTypes and other validations | |
import isPlainObject from 'lodash/isPlainObject'; | |
import { createStore } from 'redux'; | |
/** | |
* This is a copy of Redux's createStore. Only the dispatch function is modified. | |
* It passes the action Type as parameter to the callbacks registered by store.subscribe * | |
* / |
This file contains 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
set -sg escape-time 0 | |
set-window-option -g mode-keys vi | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \ | |
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" | |
is_fzf="ps -o state= -o comm= -t '#{pane_tty}' \ |
This file contains 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
"set shell=/bin/sh | |
set termguicolors | |
set number | |
set ruler | |
set relativenumber | |
set cursorline | |
set synmaxcol=1000 | |
set clipboard=unnamed | |
set list listchars=tab:▸\ ,eol:¬,trail:· |
This file contains 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
// PRs welcome! | |
// import system dependencies | |
const { | |
lstatSync, | |
readdirSync, | |
createReadStream, | |
createWriteStream, | |
writeFile, | |
rename |
This file contains 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
set shell=/bin/sh | |
set termguicolors | |
set number | |
set ruler | |
set relativenumber | |
set cursorline | |
"set synmaxcol=1000 | |
set clipboard=unnamed | |
"set list listchars=tab:\ ,eol:¬,trail: |
This file contains 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
set shell=/bin/sh | |
set termguicolors | |
set number | |
set ruler | |
set relativenumber | |
set cursorline | |
set synmaxcol=1000 | |
set clipboard=unnamed | |
"set list listchars=tab:\ ,eol:¬,trail: |
NewerOlder