sajenim / gist:b64cd00ae518492591d0cf77ccf71f07
0 likes
0 forks
1 files
Last active
Select: "Existing key from card"
| 1 | gpg --full-generate-key |
Last active
Confirm candidate on TAB immediately when there's only one completion entry
| 1 | cmp.mapping(function(fallback) |
| 2 | local line, col = unpack(vim.api.nvim_win_get_cursor(0)) |
| 3 | |
| 4 | -- When the selection menu is open select the next item |
| 5 | if cmp.visible() then |
| 6 | cmp.select_next_item() |
| 7 | -- Ensure we are mid word |
| 8 | elseif col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil then |
| 9 | -- Open the selection menu |
| 10 | cmp.complete() |
sajenim / gist:74e6cd50d66a4e84af84b7f52a0cbbd6
0 likes
0 forks
1 files
Last active
add to ublock filters to remove google ai search results
| 1 | google.com##.hdzaWe |
Newer
Older