Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| lua << EOF | |
| local nvim_lsp = require('lspconfig') | |
| nvim_lsp.pyright.setup{} | |
| -- Use an on_attach function to only map the following keys | |
| -- after the language server attaches to the current buffer | |
| local on_attach = function(client, bufnr) | |
| local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end | |
| local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end |
| let mapleader=";" | |
| " Disable F1 | |
| noremap <F1> <Nop> | |
| nnoremap <F1> <Nop> | |
| inoremap <F1> <Nop> | |
| vnoremap <F1> <Nop> | |
| " Neovim configuration |
| #if macro | |
| import haxe.macro.Context; | |
| import haxe.macro.Expr; | |
| import haxe.macro.TypeTools; | |
| #end | |
| @:remove // Doesn't seem to work on lua, eh | |
| interface Job<TJobOpt:{}> {} | |
| @:pure |