Browse Source

no link

master
zeus 1 year ago
parent
commit
fb825b16f9
  1. 4
      docs/modules/myservices/ansible/files/.vimrc
  2. 25
      docs/modules/myservices/ansible/neovim.yml

4
docs/modules/myservices/ansible/files/.vimrc

@ -558,6 +558,10 @@ if has('nvim')
" list buffer register
nnoremap <silent> <leader>r :lua require('neoclip.fzf')()<CR>
" Remove all whitespace at the end of every line in the buffer
" This also works for lines that only contain whitespace. It keeps the line in place but remove the extra space(s) or tab(s) that might have been left by accident.
nnoremap <silent> <leader>ls :%s/\s\+$//<CR>
" horizontal split with new buffer
nnoremap <silent> <leader>bh :new<CR>

25
docs/modules/myservices/ansible/neovim.yml

@ -84,6 +84,7 @@
- python3-dev
- python3-pip
- python3.7
- libpython3.6-dev
- libpython3.7-dev
- libpython3.8-dev
- python3-setuptools
@ -131,18 +132,18 @@
become: true
shell: update-alternatives --install /usr/bin/python python /usr/bin/python3.7 1
- name: rm symbolic link
become: true
file:
path: "/usr/bin/python3"
state: absent
- name: Create symbolic link
become: true
file:
src: "/usr/bin/python3.7"
dest: "/usr/bin/python3"
state: link
# - name: rm symbolic link
# become: true
# file:
# path: "/usr/bin/python3"
# state: absent
#
# - name: Create symbolic link
# become: true
# file:
# src: "/usr/bin/python3.7"
# dest: "/usr/bin/python3"
# state: link
- name: Ensure Pathogen is in place
get_url:

Loading…
Cancel
Save