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
" Vim reduced (and faster) syntax file | |
" Language: Vim 8.1 script | |
" Edits By: Gianmaria Bajo <[email protected]> | |
" Base File Author: Charles E. Campbell <[email protected]> | |
" Base File Version: 8.0-20 | |
" Base File URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM | |
if exists("b:current_syntax") | |
finish | |
endif |
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
" ========================================================================/// | |
" Description: import UltiSnips snippets as VsCode snippets for vim-vsnip | |
" File: import.vim | |
" Author: Gianmaria Bajo <[email protected]> | |
" License: MIT | |
" Created: dom 09 agosto 2020 13:14:35 | |
" Modified: dom 09 agosto 2020 15:33:32 | |
" ========================================================================/// | |
function! import#snippets(ask_confirm) abort |
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
M = {} | |
function M.score() | |
local lines = {} | |
local self = function(x, ...) return vim.fn.get(vim.fn.eval('self'), x, ...) end | |
local re = function(x, ...) return vim.fn.get(vim.fn.eval('self.re'), x, ...) end | |
local find = string.find | |
local vmatch = vim.fn.match | |
local vmatchend = vim.fn.matchend |
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
" ========================================================================/// | |
" Description: separators using virtual text for nvim | |
" File: virtualSep.vim | |
" Author: Gianmaria Bajo <[email protected]> | |
" License: MIT | |
" Created: ven 02 aprile 2021 09:58:06 | |
" ========================================================================/// | |
" GUARD {{{1 | |
if !has('nvim') || exists('g:loaded_virtualSep') |
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
" _____ __ __ __ _ | |
" / ___/ / /_ ____ _ / /_ __ __ _____ / / (_) ____ ___ | |
" \__ \ / __/ / __ `/ / __/ / / / / / ___/ / / / / / __ \ / _ \ | |
" ___/ / / /_ / /_/ / / /_ / /_/ / (__ ) / /___ / / / / / // __/ | |
" /____/ \__/ \__,_/ \__/ \__,_/ /____/ /_____//_/ /_/ /_/ \___/ | |
" GUARD {{{1 | |
if v:version < 802 || exists('g:loaded_statusline') | |
finish | |
endif |
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
" ========================================================================/// | |
" Description: simple bookmarks system using uppercase marks and quickfix | |
" File: projectmarks.vim | |
" Author: Gianmaria Bajo <[email protected]> | |
" Credits: https://www.reddit.com/r/vim/comments/pngb4j/what_is_the_best_way_to_manage_bookmarks_per/ | |
" License: MIT | |
" Created: mer 15 settembre 2021 17:00:32 | |
" Modified: mer 15 settembre 2021 17:00:32 | |
" ========================================================================/// |