Skip to main content
typos
Source Link

I discovered some days ago that encryption functionality was removed in Neovim, it's great to have a full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg setlocal shada= noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

I discovered some days ago that encryption functionality was removed Neovim, it's great to have full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg setlocal shada= noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

I discovered some days ago that encryption functionality was removed in Neovim, it's great to have a full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg setlocal shada= noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

deleted 45 characters in body
Source Link

I discovered some days ago that encryption functionality was removed Neovim, it's great to have full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg set viminfo=
  autocmd BufReadPre,FileReadPre *.gpgsetlocal setshada= noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

I discovered some days ago that encryption functionality was removed Neovim, it's great to have full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg set viminfo=
  autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

I discovered some days ago that encryption functionality was removed Neovim, it's great to have full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg setlocal shada= noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

added 63 characters in body
Source Link

I understand the reasons behind removing embedded encription support indiscovered some days ago that encryption functionality was removed Neovim but I must say is one of the features I'm missing once I noticed is gone. It's, it's great to have afull featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution for thisto integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg set viminfo=
  autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

I just put this together andThis configuration seems to work even without the GPG_TTYnot require any additional environment variablevariables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

I understand the reasons behind removing embedded encription support in Neovim but I must say is one of the features I'm missing once I noticed is gone. It's great to have a plugin like vim-gnupg but for anyone who wants to go for a minimalist solution for this functionality:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg set viminfo=
  autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

I just put this together and seems to work even without the GPG_TTY environment variable.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case.

I discovered some days ago that encryption functionality was removed Neovim, it's great to have full featured plugin like vim-gnupg but for anyone who wants to go for a minimalist solution to integrate back the encryption functionality in Neovim:

augroup gpg_files
  autocmd!
  autocmd BufReadPre,FileReadPre *.gpg set viminfo=
  autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup
  autocmd BufRead *.gpg %!gpg -qd %
  autocmd BufWriteCmd *.gpg write !gpg --batch --yes -co %
augroup END

This configuration seems to not require any additional environment variables.

PS. Of course this is only for an exclusive use of symmetric cipher encryption, which is my use case, trying to bring back the removed :X functionality in Neovim.

added 107 characters in body
Source Link
Loading
Source Link
Loading