code: def selection_pos(self):
          
          buff = self._vim.current.buffer
          beg = buff.mark('<')
          end = buff.mark('>')
          return beg, end
docs: Return start and end positions of the visual selection respectively.